mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
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: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
This commit is contained in:
parent
1a7d91d651
commit
b76f98761a
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ static unsigned long empty_bad_page;
|
|||
|
||||
unsigned long empty_zero_page;
|
||||
|
||||
void __init show_mem(void)
|
||||
void show_mem(void)
|
||||
{
|
||||
unsigned long i;
|
||||
int free = 0, total = 0, reserved = 0, shared = 0;
|
||||
|
|
Loading…
Reference in a new issue