diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-07-26 07:02:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-26 19:46:17 -0400 |
commit | a0ce3ba03f6bd49459c6c40a03faf10b23831c1b (patch) | |
tree | 2962499cc1c72d665f9b9ed9c50e552546feb828 /arch/sparc | |
parent | 9a4d5b93cb67b63d896579f416109274235a7a65 (diff) |
sparc32: delete dead code in show_mem()
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/mm/init_32.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c index 9f1162fbad37..dde85ef1c56d 100644 --- a/arch/sparc/mm/init_32.c +++ b/arch/sparc/mm/init_32.c | |||
@@ -60,13 +60,6 @@ void show_mem(unsigned int filter) | |||
60 | nr_swap_pages << (PAGE_SHIFT-10)); | 60 | nr_swap_pages << (PAGE_SHIFT-10)); |
61 | printk("%ld pages of RAM\n", totalram_pages); | 61 | printk("%ld pages of RAM\n", totalram_pages); |
62 | printk("%ld free pages\n", nr_free_pages()); | 62 | printk("%ld free pages\n", nr_free_pages()); |
63 | #if 0 /* undefined pgtable_cache_size, pgd_cache_size */ | ||
64 | printk("%ld pages in page table cache\n",pgtable_cache_size); | ||
65 | #ifndef CONFIG_SMP | ||
66 | if (sparc_cpu_model == sun4m || sparc_cpu_model == sun4d) | ||
67 | printk("%ld entries in page dir cache\n",pgd_cache_size); | ||
68 | #endif | ||
69 | #endif | ||
70 | } | 63 | } |
71 | 64 | ||
72 | 65 | ||