aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/init_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/mm/init_32.c')
-rw-r--r--arch/sparc/mm/init_32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c
index d5f9c023826f..a438abb5495e 100644
--- a/arch/sparc/mm/init_32.c
+++ b/arch/sparc/mm/init_32.c
@@ -323,8 +323,7 @@ void __init mem_init(void)
323 323
324 max_mapnr = last_valid_pfn - pfn_base; 324 max_mapnr = last_valid_pfn - pfn_base;
325 high_memory = __va(max_low_pfn << PAGE_SHIFT); 325 high_memory = __va(max_low_pfn << PAGE_SHIFT);
326 326 free_all_bootmem();
327 totalram_pages = free_all_bootmem();
328 327
329 for (i = 0; sp_banks[i].num_bytes != 0; i++) { 328 for (i = 0; sp_banks[i].num_bytes != 0; i++) {
330 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; 329 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT;