diff options
author | Jiang Liu <liuj97@gmail.com> | 2013-07-04 00:03:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 01:07:36 +0200 |
commit | 5dc355c146689ac5a9d57dff349958585da21fe3 (patch) | |
tree | 2140e98dc6849bb31d895f1f99a7f28e6df6565f /arch/hexagon/mm | |
parent | mm/h8300: prepare for removing num_physpages and simplify mem_init() (diff) | |
download | linux-5dc355c146689ac5a9d57dff349958585da21fe3.tar.xz linux-5dc355c146689ac5a9d57dff349958585da21fe3.zip |
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')
-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 0ab5b4350e93..88977e42af0a 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 |