aboutsummaryrefslogtreecommitdiffstats
path: root/arch/hexagon/mm/init.c
diff options
context:
space:
mode:
authorJiang Liu <liuj97@gmail.com>2013-07-03 18:03:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 19:07:36 -0400
commit5dc355c146689ac5a9d57dff349958585da21fe3 (patch)
tree2140e98dc6849bb31d895f1f99a7f28e6df6565f /arch/hexagon/mm/init.c
parent27a59706e4df3d1ea7aa1803b1ee0c94f1a4f3cf (diff)
mm/hexagon: prepare for removing num_physpages and simplify mem_init()
Prepare for removing num_physpages and simplify mem_init(). Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Cc: Richard Kuo <rkuo@codeaurora.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/hexagon/mm/init.c')
-rw-r--r--arch/hexagon/mm/init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/hexagon/mm/init.c b/arch/hexagon/mm/init.c
index 0ab5b4350e93..88977e42af0a 100644
--- a/arch/hexagon/mm/init.c
+++ b/arch/hexagon/mm/init.c
@@ -71,9 +71,7 @@ void __init mem_init(void)
71{ 71{
72 /* No idea where this is actually declared. Seems to evade LXR. */ 72 /* No idea where this is actually declared. Seems to evade LXR. */
73 free_all_bootmem(); 73 free_all_bootmem();
74 num_physpages = bootmem_lastpg-ARCH_PFN_OFFSET; 74 mem_init_print_info(NULL);
75
76 printk(KERN_INFO "totalram_pages = %ld\n", totalram_pages);
77 75
78 /* 76 /*
79 * To-Do: someone somewhere should wipe out the bootmem map 77 * To-Do: someone somewhere should wipe out the bootmem map