summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlexey Dobriyan2009-09-22 02:03:09 +0200
committerLinus Torvalds2009-09-22 16:17:38 +0200
commit1a8670a29b5277cbe601f74ab63d2c5211fb3005 (patch)
tree1b2ca94009c1f3d7ff05bbda3b8956631e3f38d9 /kernel
parentmm/vmscan: rename zone_nr_pages() to zone_nr_lru_pages() (diff)
downloadkernel-qcow2-linux-1a8670a29b5277cbe601f74ab63d2c5211fb3005.tar.gz
kernel-qcow2-linux-1a8670a29b5277cbe601f74ab63d2c5211fb3005.tar.xz
kernel-qcow2-linux-1a8670a29b5277cbe601f74ab63d2c5211fb3005.zip
oom: move oom_killer_enable()/oom_killer_disable to where they belong
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: David Rientjes <rientjes@google.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/process.c b/kernel/power/process.c
index da2072d73811..cc2e55373b68 100644
--- a/kernel/power/process.c
+++ b/kernel/power/process.c
@@ -9,6 +9,7 @@
#undef DEBUG
#include <linux/interrupt.h>
+#include <linux/oom.h>
#include <linux/suspend.h>
#include <linux/module.h>
#include <linux/syscalls.h>