提交 b76f9876 编写于 作者: R Robin Getz 提交者: Bryan Wu

Blackfin arch: show_mem can not be marked as init, since it is called during OOM condition

show_mem can not be marked as init, since it is called during
OOM condition from /mm/oom_kill.c:out_of_memory() and
/mm/page_alloc.c:__alloc_pages()
Signed-off-by: NRobin Getz <robin.getz@analog.com>
Signed-off-by: NBryan Wu <bryan.wu@analog.com>
上级 1a7d91d6
...@@ -53,7 +53,7 @@ static unsigned long empty_bad_page; ...@@ -53,7 +53,7 @@ static unsigned long empty_bad_page;
unsigned long empty_zero_page; unsigned long empty_zero_page;
void __init show_mem(void) void show_mem(void)
{ {
unsigned long i; unsigned long i;
int free = 0, total = 0, reserved = 0, shared = 0; int free = 0, total = 0, reserved = 0, shared = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册