summary refs log tree commit diff
diff options
context:
space:
mode:
authorLennart Sorensen <lsorense@csclub.uwaterloo.ca>2009-09-17 11:49:41 -0400
committerGreg Ungerer <gerg@uclinux.org>2009-09-30 10:05:59 +1000
commitcd15e8c3313f2831d2d6c7951a93eb5de9621e5a (patch)
treed7207ec3f4aec6d376826b22f269b0bbe4f9cda3
parent17d857be649a21ca90008c6dc425d849fa83db5c (diff)
downloadlinux-cd15e8c3313f2831d2d6c7951a93eb5de9621e5a.tar.gz
m68knommu: show KiB rather than pages in "Freeing initrd memory:" message
Fix "Freeing initrd memory:" message m68knommu to show kilobytes as
claimed rather than number of pages.

Signed-off-by: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
-rw-r--r--arch/m68knommu/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68knommu/mm/init.c b/arch/m68knommu/mm/init.c
index b1703c67a4f1..f3236d0b522d 100644
--- a/arch/m68knommu/mm/init.c
+++ b/arch/m68knommu/mm/init.c
@@ -162,7 +162,7 @@ void free_initrd_mem(unsigned long start, unsigned long end)
 		totalram_pages++;
 		pages++;
 	}
-	printk (KERN_NOTICE "Freeing initrd memory: %dk freed\n", pages);
+	printk (KERN_NOTICE "Freeing initrd memory: %dk freed\n", pages * (PAGE_SIZE / 1024));
 }
 #endif