projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2357548
)
microblaze: Actually show KiB rather than pages in "Freeing initrd memory:"
author
Lennart Sorensen
<lsorense@csclub.uwaterloo.ca>
Thu, 17 Sep 2009 15:47:06 +0000
(11:47 -0400)
committer
Michal Simek
<monstr@monstr.eu>
Tue, 22 Sep 2009 08:10:05 +0000
(10:10 +0200)
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>
arch/microblaze/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/mm/init.c
b/arch/microblaze/mm/init.c
index
f207f1a
..
42cbc15
100644
(file)
--- 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