aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/mm/init.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-06-25 20:33:10 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 20:43:33 -0400
commit2082b477dc7e9d5b3f773a36aae2dbc55b4263c2 (patch)
tree5c86a1d6ddc1c55cb2cd4dd84ee5b789f6e79c73 /arch/m68knommu/mm/init.c
parent36a248fadf96cd78c6b344442046db5b85cf9a70 (diff)
[PATCH] m68knommu: remove use of rom_length
Remove use of rom_length. It serves not real purpose, and when we move to new stye RAM configuration it will not be needed. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 );