patch-1.3.33 linux/arch/i386/kernel/smp.c
Next file: linux/drivers/block/aztcd.c
Previous file: linux/arch/i386/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Tue Oct 10 15:45:26 1995
- Orig file:
v1.3.32/linux/arch/i386/kernel/smp.c
- Orig date:
Wed Oct 4 14:14:28 1995
diff -u --recursive --new-file v1.3.32/linux/arch/i386/kernel/smp.c linux/arch/i386/kernel/smp.c
@@ -304,8 +304,14 @@
mpf->mpf_feature1);
return;
}
+ /*
+ * Read the physical hardware table. If there isn't one
+ * the processors present are 0 and 1.
+ */
if(mpf->mpf_physptr)
smp_read_mpc((void *)mpf->mpf_physptr);
+ else
+ cpu_present_map=3;
printk("Processors: %d\n", num_processors);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this