Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy...
[pandora-kernel.git] / arch / m68k / mm / sun3mmu.c
index ac6640a..6a6513a 100644 (file)
@@ -49,7 +49,6 @@ void __init paging_init(void)
        unsigned long zones_size[MAX_NR_ZONES] = { 0, };
        unsigned long size;
 
-
 #ifdef TEST_VERIFY_AREA
        wp_works_ok = 0;
 #endif
@@ -94,7 +93,11 @@ void __init paging_init(void)
        /* memory sizing is a hack stolen from motorola.c..  hope it works for us */
        zones_size[ZONE_DMA] = ((unsigned long)high_memory - PAGE_OFFSET) >> PAGE_SHIFT;
 
-       free_area_init(zones_size);
+       /* I really wish I knew why the following change made things better...  -- Sam */
+/*     free_area_init(zones_size); */
+       free_area_init_node(0, NODE_DATA(0), zones_size,
+                           (__pa(PAGE_OFFSET) >> PAGE_SHIFT) + 1, NULL);
+
 
 }