diff options
-rw-r--r-- | arch/h8300/mm/init.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c index e4f4199f97ab..a1d228f5e4e6 100644 --- a/arch/h8300/mm/init.c +++ b/arch/h8300/mm/init.c | |||
@@ -64,33 +64,6 @@ unsigned long empty_zero_page; | |||
64 | 64 | ||
65 | extern unsigned long rom_length; | 65 | extern unsigned long rom_length; |
66 | 66 | ||
67 | void show_mem(void) | ||
68 | { | ||
69 | unsigned long i; | ||
70 | int free = 0, total = 0, reserved = 0, shared = 0; | ||
71 | int cached = 0; | ||
72 | |||
73 | printk("\nMem-info:\n"); | ||
74 | show_free_areas(); | ||
75 | i = max_mapnr; | ||
76 | while (i-- > 0) { | ||
77 | total++; | ||
78 | if (PageReserved(mem_map+i)) | ||
79 | reserved++; | ||
80 | else if (PageSwapCache(mem_map+i)) | ||
81 | cached++; | ||
82 | else if (!page_count(mem_map+i)) | ||
83 | free++; | ||
84 | else | ||
85 | shared += page_count(mem_map+i) - 1; | ||
86 | } | ||
87 | printk("%d pages of RAM\n",total); | ||
88 | printk("%d free pages\n",free); | ||
89 | printk("%d reserved pages\n",reserved); | ||
90 | printk("%d pages shared\n",shared); | ||
91 | printk("%d pages swap cached\n",cached); | ||
92 | } | ||
93 | |||
94 | extern unsigned long memory_start; | 67 | extern unsigned long memory_start; |
95 | extern unsigned long memory_end; | 68 | extern unsigned long memory_end; |
96 | 69 | ||