Commit 5b6401ec authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] Sun-3 memory zones

Sun-3 memory zones: Mark all pages in zone 0, rather than splitting memory
evenly between zones (from Sam Creasey)
parent 8f7cf9bd
......@@ -92,13 +92,12 @@ void __init paging_init(void)
}
mmu_emu_init(bootmem_end);
current->mm = NULL;
/* memory sizing is a hack stolen from motorola.c.. hope it works for us */
zones_size[1] = ((unsigned long)high_memory - PAGE_OFFSET) >> PAGE_SHIFT;
zones_size[0] = zones_size[1]/2;
zones_size[1] -= zones_size[0];
zones_size[0] = ((unsigned long)high_memory - PAGE_OFFSET) >> PAGE_SHIFT;
zones_size[1] = 0;
free_area_init(zones_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment