diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2003-01-09 19:59:28 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2003-01-09 19:59:28 +0000 |
| commit | 0d238da886cf12a071fb522448dde15bb258e36d (patch) | |
| tree | d33fa0cfe802684586ddbbf623a8ad6d783e982d /sys | |
| parent | f85b149dae8d705585b8bb79dfeaedcbe735488b (diff) | |
Notes
Diffstat (limited to 'sys')
| -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 4880c742aacf2..86aa9ba910aa8 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 27b3bcac7b5ec..45d295ac67901 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 4880c742aacf2..86aa9ba910aa8 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 27b3bcac7b5ec..45d295ac67901 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(); |
