diff options
author | Jiang Liu <liuj97@gmail.com> | 2013-07-03 15:03:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:07:36 -0700 |
commit | 5dc355c146689ac5a9d57dff349958585da21fe3 (patch) | |
tree | 2140e98dc6849bb31d895f1f99a7f28e6df6565f /arch | |
parent | 27a59706e4df3d1ea7aa1803b1ee0c94f1a4f3cf (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')
-rw-r--r-- | arch/hexagon/mm/init.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/hexagon/mm/init.c b/arch/hexagon/mm/init.c index 0ab5b4350e9..88977e42af0 100644 --- a/arch/hexagon/mm/init.c +++ b/arch/hexagon/mm/init.c @@ -71,9 +71,7 @@ void __init mem_init(void) { /* No idea where this is actually declared. Seems to evade LXR. */ free_all_bootmem(); - num_physpages = bootmem_lastpg-ARCH_PFN_OFFSET; - - printk(KERN_INFO "totalram_pages = %ld\n", totalram_pages); + mem_init_print_info(NULL); /* * To-Do: someone somewhere should wipe out the bootmem map |