aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68knommu/mm/init.c')
-rw-r--r--arch/m68knommu/mm/init.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/m68knommu/mm/init.c b/arch/m68knommu/mm/init.c
index d79503fe6e42..70d1653be3da 100644
--- a/arch/m68knommu/mm/init.c
+++ b/arch/m68knommu/mm/init.c
@@ -63,8 +63,6 @@ static unsigned long empty_bad_page;
63 63
64unsigned long empty_zero_page; 64unsigned long empty_zero_page;
65 65
66extern unsigned long rom_length;
67
68void show_mem(void) 66void show_mem(void)
69{ 67{
70 unsigned long i; 68 unsigned long i;
@@ -178,11 +176,9 @@ void mem_init(void)
178 initk = (&__init_begin - &__init_end) >> 10; 176 initk = (&__init_begin - &__init_end) >> 10;
179 177
180 tmp = nr_free_pages() << PAGE_SHIFT; 178 tmp = nr_free_pages() << PAGE_SHIFT;
181 printk(KERN_INFO "Memory available: %luk/%luk RAM, %luk/%luk ROM (%dk kernel code, %dk data)\n", 179 printk(KERN_INFO "Memory available: %luk/%luk RAM, (%dk kernel code, %dk data)\n",
182 tmp >> 10, 180 tmp >> 10,
183 len >> 10, 181 len >> 10,
184 (rom_length > 0) ? ((rom_length >> 10) - codek) : 0,
185 rom_length >> 10,
186 codek, 182 codek,
187 datak 183 datak
188 ); 184 );