diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/mm/init.c | 2 | ||||
-rw-r--r-- | arch/mips/sgi-ip27/ip27-memory.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 268f2a94031b..e7333f15b1b7 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c | |||
@@ -374,7 +374,7 @@ void __init mem_init(void) | |||
374 | #endif | 374 | #endif |
375 | high_memory = (void *) __va(max_low_pfn << PAGE_SHIFT); | 375 | high_memory = (void *) __va(max_low_pfn << PAGE_SHIFT); |
376 | 376 | ||
377 | totalram_pages += free_all_bootmem(); | 377 | free_all_bootmem(); |
378 | setup_zero_pages(); /* Setup zeroed pages. */ | 378 | setup_zero_pages(); /* Setup zeroed pages. */ |
379 | 379 | ||
380 | reservedpages = ram = 0; | 380 | reservedpages = ram = 0; |
diff --git a/arch/mips/sgi-ip27/ip27-memory.c b/arch/mips/sgi-ip27/ip27-memory.c index 1230f56429d7..aecac4a08360 100644 --- a/arch/mips/sgi-ip27/ip27-memory.c +++ b/arch/mips/sgi-ip27/ip27-memory.c | |||
@@ -489,7 +489,7 @@ void __init mem_init(void) | |||
489 | /* | 489 | /* |
490 | * This will free up the bootmem, ie, slot 0 memory. | 490 | * This will free up the bootmem, ie, slot 0 memory. |
491 | */ | 491 | */ |
492 | totalram_pages += free_all_bootmem_node(NODE_DATA(node)); | 492 | free_all_bootmem_node(NODE_DATA(node)); |
493 | } | 493 | } |
494 | 494 | ||
495 | setup_zero_pages(); /* This comes from node 0 */ | 495 | setup_zero_pages(); /* This comes from node 0 */ |