patch-2.4.9 linux/arch/alpha/mm/numa.c
Next file: linux/arch/arm/Makefile
Previous file: linux/arch/alpha/kernel/traps.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sun Aug 12 10:38:48 2001
- Orig file:
v2.4.8/linux/arch/alpha/mm/numa.c
- Orig date:
Thu May 24 15:20:18 2001
diff -u --recursive --new-file v2.4.8/linux/arch/alpha/mm/numa.c linux/arch/alpha/mm/numa.c
@@ -260,9 +260,9 @@
phys_to_virt(PFN_PHYS(max_low_pfn)));
initrd_start = initrd_end = 0;
} else {
- /* Assume the initrd to be in the first node */
- reserve_bootmem_node(NODE_DATA(nid), virt_to_phys((void *)initrd_start),
- INITRD_SIZE);
+ reserve_bootmem_node(NODE_DATA(KVADDR_TO_NID(initrd_start)),
+ virt_to_phys((void *)initrd_start),
+ INITRD_SIZE);
}
}
#endif /* CONFIG_BLK_DEV_INITRD */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)