提交 d6f61770 编写于 作者: L Lennart Sorensen 提交者: Michal Simek

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: NLennart Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: NMichal Simek <monstr@monstr.eu>
上级 23575483
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册