From e98d2a3dcbb04eeea3f2aea83b33ba5075fdd87f Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 9 Jan 2003 19:59:28 +0000 Subject: Remove earlysetcpuclass() as it has been OBE. Suggested by: bde --- sys/amd64/amd64/identcpu.c | 15 --------------- sys/amd64/amd64/machdep.c | 2 -- 2 files changed, 17 deletions(-) (limited to 'sys/amd64') diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c index 4880c74..86aa9ba 100644 --- a/sys/amd64/amd64/identcpu.c +++ b/sys/amd64/amd64/identcpu.c @@ -951,21 +951,6 @@ finishidentcpu(void) } } -/* - * This routine is called specifically to set up cpu_class before - * startrtclock() uses it. Probably this should be rearranged so that - * startrtclock() doesn't need to run until after identifycpu() has been - * called. Another alternative formulation would be for this routine - * to do all the identification work, and make identifycpu() into a - * printing-only routine. - */ -void -earlysetcpuclass(void) -{ - - cpu_class = i386_cpus[cpu].cpu_class; -} - static void print_AMD_assoc(int i) { diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 27b3bca..45d295a 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -123,7 +123,6 @@ extern void init386(int first); extern void dblfault_handler(void); extern void printcpuinfo(void); /* XXX header file */ -extern void earlysetcpuclass(void); /* same header file */ extern void finishidentcpu(void); extern void panicifcpuunsupported(void); extern void initializecpu(void); @@ -192,7 +191,6 @@ cpu_startup(dummy) /* * Good {morning,afternoon,evening,night}. */ - earlysetcpuclass(); startrtclock(); printcpuinfo(); panicifcpuunsupported(); -- cgit v1.1