mm, memcg: make mem_cgroup_out_of_memory() static
authorDavid Rientjes <rientjes@google.com>
Wed, 12 Dec 2012 00:00:26 +0000 (16:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Dec 2012 01:22:22 +0000 (17:22 -0800)
commit19965460e31c73a934d2c19c152f876a75bdff3e
tree662e3de7f6015225b650f8a24fbacf8b33938714
parent377e4f167664d8bc390c04c911d846366000159c
mm, memcg: make mem_cgroup_out_of_memory() static

mem_cgroup_out_of_memory() is only referenced from within file scope, so
it can be marked static.

Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/oom.h
mm/memcontrol.c