patch-2.2.0-pre3 linux/arch/i386/kernel/smp.c
Next file: linux/arch/i386/kernel/time.c
Previous file: linux/arch/i386/kernel/setup.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Fri Jan 1 11:18:13 1999
- Orig file:
v2.2.0-pre2/linux/arch/i386/kernel/smp.c
- Orig date:
Thu Dec 31 10:28:59 1998
diff -u --recursive --new-file v2.2.0-pre2/linux/arch/i386/kernel/smp.c linux/arch/i386/kernel/smp.c
@@ -1058,6 +1058,7 @@
* scheduling on <=i486 based SMP boards.
*/
cacheflush_time = 0;
+ return;
} else {
cachesize = boot_cpu_data.x86_cache_size;
if (cachesize == -1)
@@ -1066,7 +1067,7 @@
cacheflush_time = cpu_hz/1024*cachesize/5000;
}
- printk("per-CPU timeslice cutoff: %ld.%ld usecs.\n",
+ printk("per-CPU timeslice cutoff: %ld.%02ld usecs.\n",
(long)cacheflush_time/(cpu_hz/1000000),
((long)cacheflush_time*100/(cpu_hz/1000000)) % 100);
}
@@ -1302,7 +1303,7 @@
* Silly serialization to work around CPU bug in P5s.
* We can safely turn it off on a 686.
*/
-#ifdef CONFIG_GOOD_APIC
+#ifdef CONFIG_X86_GOOD_APIC
# define FORCE_APIC_SERIALIZATION 0
#else
# define FORCE_APIC_SERIALIZATION 1
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov