patch-2.1.8 linux/arch/i386/kernel/setup.c
Next file: linux/arch/i386/kernel/time.c
Previous file: linux/arch/i386/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Nov 2 13:57:50 1996
- Orig file:
v2.1.7/linux/arch/i386/kernel/setup.c
- Orig date:
Tue Oct 29 19:58:02 1996
diff -u --recursive --new-file v2.1.7/linux/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c
@@ -185,7 +185,7 @@
#ifdef CONFIG_BLK_DEV_INITRD
if (LOADER_TYPE) {
- initrd_start = INITRD_START + PAGE_OFFSET;
+ initrd_start = INITRD_START ? INITRD_START + PAGE_OFFSET : 0;
initrd_end = initrd_start+INITRD_SIZE;
if (initrd_end > memory_end) {
printk("initrd extends beyond end of memory "
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov