aboutsummaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/fpu.c2
-rw-r--r--i386/i386/pit.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/fpu.c b/i386/i386/fpu.c
index e1818683..fefe5e49 100644
--- a/i386/i386/fpu.c
+++ b/i386/i386/fpu.c
@@ -119,7 +119,7 @@ init_fpu(void)
#else /* MACH_RING1 */
unsigned int native = 0;
- if (machine_slot[cpu_number_slow()].cpu_type >= CPU_TYPE_I486)
+ if (machine_slot[cpu_number()].cpu_type >= CPU_TYPE_I486)
native = CR0_NE;
/*
diff --git a/i386/i386/pit.c b/i386/i386/pit.c
index 9e527fca..6c006a98 100644
--- a/i386/i386/pit.c
+++ b/i386/i386/pit.c
@@ -118,7 +118,7 @@ pit_mdelay(int msec)
void
clkstart(void)
{
- if (cpu_number_slow() != 0)
+ if (cpu_number() != 0)
/* Only one PIT initialization is needed */
return;
unsigned char byte;