summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Rientjes2007-10-17 08:25:53 +0200
committerLinus Torvalds2007-10-17 17:42:45 +0200
commit5a3135c2e77fe88cdea20b5e3f4761068b799ac2 (patch)
treed82b0568722d285673251210716801e6fc4a90ed /arch
parentSlab API: remove useless ctor parameter and reorder parameters (diff)
downloadkernel-qcow2-linux-5a3135c2e77fe88cdea20b5e3f4761068b799ac2.tar.gz
kernel-qcow2-linux-5a3135c2e77fe88cdea20b5e3f4761068b799ac2.tar.xz
kernel-qcow2-linux-5a3135c2e77fe88cdea20b5e3f4761068b799ac2.zip
oom: move prototypes to appropriate header file
Move the OOM killer's extern function prototypes to include/linux/oom.h and include it where necessary. [clg@fr.ibm.com: build fix] Cc: Andrea Arcangeli <andrea@suse.de> Acked-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/mm/cmm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/mm/cmm.c b/arch/s390/mm/cmm.c
index fabc50adc46a..d4ed93dfb9c7 100644
--- a/arch/s390/mm/cmm.c
+++ b/arch/s390/mm/cmm.c
@@ -17,6 +17,7 @@
#include <linux/ctype.h>
#include <linux/swap.h>
#include <linux/kthread.h>
+#include <linux/oom.h>
#include <asm/pgalloc.h>
#include <asm/uaccess.h>