summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLennart Sorensen <lsorense@csclub.uwaterloo.ca>2009-09-17 17:49:41 +0200
committerGreg Ungerer <gerg@uclinux.org>2009-09-30 02:05:59 +0200
commitcd15e8c3313f2831d2d6c7951a93eb5de9621e5a (patch)
treed7207ec3f4aec6d376826b22f269b0bbe4f9cda3 /arch
parentLinux 2.6.32-rc1 (diff)
downloadlinux-cd15e8c3313f2831d2d6c7951a93eb5de9621e5a.tar.xz
linux-cd15e8c3313f2831d2d6c7951a93eb5de9621e5a.zip
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>
Diffstat (limited to 'arch')
-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