patch-2.4.25 linux-2.4.25/arch/i386/kernel/smpboot.c
Next file: linux-2.4.25/arch/i386/kernel/time.c
Previous file: linux-2.4.25/arch/i386/kernel/setup.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/i386/kernel/smpboot.c
- Orig date:
2003-11-28 10:26:19.000000000 -0800
diff -urN linux-2.4.24/arch/i386/kernel/smpboot.c linux-2.4.25/arch/i386/kernel/smpboot.c
@@ -1106,7 +1106,7 @@
*/
Dprintk("CPU present map: %lx\n", phys_cpu_present_map);
- for (bit = 0; bit < NR_CPUS; bit++) {
+ for (bit = 0; bit < BITS_PER_LONG; bit++) {
apicid = cpu_present_to_apicid(bit);
/* don't try to boot BAD_APICID */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)