summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu
diff options
context:
space:
mode:
authorGreg Ungerer2006-06-26 02:33:10 +0200
committerLinus Torvalds2006-06-26 02:43:33 +0200
commit2082b477dc7e9d5b3f773a36aae2dbc55b4263c2 (patch)
tree5c86a1d6ddc1c55cb2cd4dd84ee5b789f6e79c73 /arch/m68knommu
parent[PATCH] m68knommu: switch arch config name to CONFIG_M68K (diff)
downloadkernel-qcow2-linux-2082b477dc7e9d5b3f773a36aae2dbc55b4263c2.tar.gz
kernel-qcow2-linux-2082b477dc7e9d5b3f773a36aae2dbc55b4263c2.tar.xz
kernel-qcow2-linux-2082b477dc7e9d5b3f773a36aae2dbc55b4263c2.zip
[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')
-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;
unsigned long empty_zero_page;
-extern unsigned long rom_length;
-
void show_mem(void)
{
unsigned long i;
@@ -178,11 +176,9 @@ void mem_init(void)
initk = (&__init_begin - &__init_end) >> 10;
tmp = nr_free_pages() << PAGE_SHIFT;
- printk(KERN_INFO "Memory available: %luk/%luk RAM, %luk/%luk ROM (%dk kernel code, %dk data)\n",
+ printk(KERN_INFO "Memory available: %luk/%luk RAM, (%dk kernel code, %dk data)\n",
tmp >> 10,
len >> 10,
- (rom_length > 0) ? ((rom_length >> 10) - codek) : 0,
- rom_length >> 10,
codek,
datak
);