diff options
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/mm/motorola.c | 2 | ||||
-rw-r--r-- | arch/m68k/mm/sun3mmu.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/mm/motorola.c b/arch/m68k/mm/motorola.c index 226795bdf355..c5dbb9bdb322 100644 --- a/arch/m68k/mm/motorola.c +++ b/arch/m68k/mm/motorola.c | |||
@@ -296,7 +296,7 @@ void __init paging_init(void) | |||
296 | #endif | 296 | #endif |
297 | for (i = 0; i < m68k_num_memory; i++) { | 297 | for (i = 0; i < m68k_num_memory; i++) { |
298 | zones_size[ZONE_DMA] = m68k_memory[i].size >> PAGE_SHIFT; | 298 | zones_size[ZONE_DMA] = m68k_memory[i].size >> PAGE_SHIFT; |
299 | free_area_init_node(i, pg_data_map + i, zones_size, | 299 | free_area_init_node(i, zones_size, |
300 | m68k_memory[i].addr >> PAGE_SHIFT, NULL); | 300 | m68k_memory[i].addr >> PAGE_SHIFT, NULL); |
301 | } | 301 | } |
302 | } | 302 | } |
diff --git a/arch/m68k/mm/sun3mmu.c b/arch/m68k/mm/sun3mmu.c index edceefc18870..1b902dbd4376 100644 --- a/arch/m68k/mm/sun3mmu.c +++ b/arch/m68k/mm/sun3mmu.c | |||
@@ -94,7 +94,7 @@ void __init paging_init(void) | |||
94 | 94 | ||
95 | /* I really wish I knew why the following change made things better... -- Sam */ | 95 | /* I really wish I knew why the following change made things better... -- Sam */ |
96 | /* free_area_init(zones_size); */ | 96 | /* free_area_init(zones_size); */ |
97 | free_area_init_node(0, NODE_DATA(0), zones_size, | 97 | free_area_init_node(0, zones_size, |
98 | (__pa(PAGE_OFFSET) >> PAGE_SHIFT) + 1, NULL); | 98 | (__pa(PAGE_OFFSET) >> PAGE_SHIFT) + 1, NULL); |
99 | 99 | ||
100 | 100 | ||