]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Sun-3 memory zones
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 20 Mar 2003 14:04:59 +0000 (06:04 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 20 Mar 2003 14:04:59 +0000 (06:04 -0800)
Sun-3 memory zones: Mark all pages in zone 0, rather than splitting memory
evenly between zones (from Sam Creasey)

arch/m68k/mm/sun3mmu.c

index a1dcc2ed06aad4938059b3ece8e4c478330583da..3628332aeab63f17265f6251876818a6d5fd3b5d 100644 (file)
@@ -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);