patch-2.4.0-test6 linux/mm/bootmem.c
Next file: linux/mm/filemap.c
Previous file: linux/kernel/user.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Aug 7 21:01:36 2000
- Orig file:
v2.4.0-test5/linux/mm/bootmem.c
- Orig date:
Tue Apr 11 15:09:25 2000
diff -u --recursive --new-file v2.4.0-test5/linux/mm/bootmem.c linux/mm/bootmem.c
@@ -246,7 +246,7 @@
* Now free the allocator bitmap itself, it's not
* needed anymore:
*/
- page = mem_map + MAP_NR(bdata->node_bootmem_map);
+ page = virt_to_page(bdata->node_bootmem_map);
count = 0;
for (i = 0; i < ((bdata->node_low_pfn-(bdata->node_boot_start >> PAGE_SHIFT))/8 + PAGE_SIZE-1)/PAGE_SIZE; i++,page++) {
count++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)