patch-2.2.0-pre2 linux/arch/i386/kernel/setup.c

Next file: linux/arch/i386/kernel/smp.c
Previous file: linux/arch/i386/kernel/ptrace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre1/linux/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c
@@ -597,7 +597,7 @@
 
 	for(n=0; n<NR_CPUS; n++, c++) {
 #ifdef __SMP__
-		if (!(cpu_present_map & (1<<n)))
+		if (!(cpu_online_map & (1<<n)))
 			continue;
 #endif
 		p += sprintf(p,"processor\t: %d\n"

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov