diff options
author | Lennart Sorensen <lsorense@csclub.uwaterloo.ca> | 2009-09-17 11:47:06 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-09-22 10:10:05 +0200 |
commit | d6f61770f910a976050458807ff8891e78303297 (patch) | |
tree | 44ecb02498f464947834a1de02ae5858280938d8 /arch/microblaze | |
parent | 235754834b6818e727d6b8e240c4ec7f79e2f457 (diff) |
microblaze: Actually show KiB rather than pages in "Freeing initrd memory:"
Fix "Freeing initrd memory:" message on microblaze to show kilobytes as
claimed rather than number of pages.
Signed-off-by: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/mm/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index f207f1a94db..42cbc15e015 100644 --- a/arch/microblaze/mm/init.c +++ b/arch/microblaze/mm/init.c @@ -180,7 +180,8 @@ 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", + (int)(pages * (PAGE_SIZE / 1024))); } #endif |