diff options
author | jhb <jhb@FreeBSD.org> | 2003-01-09 19:59:28 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-01-09 19:59:28 +0000 |
commit | e98d2a3dcbb04eeea3f2aea83b33ba5075fdd87f (patch) | |
tree | d33fa0cfe802684586ddbbf623a8ad6d783e982d | |
parent | 6117002b61e9cf3e6b8c795f462d4ed00ea369a1 (diff) | |
download | FreeBSD-src-e98d2a3dcbb04eeea3f2aea83b33ba5075fdd87f.zip FreeBSD-src-e98d2a3dcbb04eeea3f2aea83b33ba5075fdd87f.tar.gz |
Remove earlysetcpuclass() as it has been OBE.
Suggested by: bde
-rw-r--r-- | sys/amd64/amd64/identcpu.c | 15 | ||||
-rw-r--r-- | sys/amd64/amd64/machdep.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/identcpu.c | 15 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 2 |
4 files changed, 0 insertions, 34 deletions
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(); diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index 4880c74..86aa9ba 100644 --- a/sys/i386/i386/identcpu.c +++ b/sys/i386/i386/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/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 27b3bca..45d295a 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/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(); |