patch-2.3.35 linux/mm/bootmem.c
Next file: linux/mm/vmscan.c
Previous file: linux/kernel/sysctl.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Mon Dec 20 21:59:45 1999
- Orig file:
v2.3.34/linux/mm/bootmem.c
- Orig date:
Tue Dec 14 01:27:24 1999
diff -u --recursive --new-file v2.3.34/linux/mm/bootmem.c linux/mm/bootmem.c
@@ -45,6 +45,7 @@
{
unsigned long mapsize = ((end - start)+7)/8;
+ mapsize = (mapsize + (sizeof(long) - 1UL)) & ~(sizeof(long) - 1UL);
bdata->node_bootmem_map = phys_to_virt(mapstart << PAGE_SHIFT);
bdata->node_boot_start = (start << PAGE_SHIFT);
bdata->node_low_pfn = end;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)