summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-24 06:27:02 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 19:47:14 +0200
commit4f5ca265788973e3f5a1129a96ee4a9cbf587f2b (patch)
tree68d99bd13f654286b2d5684ad0ea175a98d91f1a /mm/migrate.c
parentpage allocator: inline some __alloc_pages() wrappers (diff)
downloadlinux-4f5ca265788973e3f5a1129a96ee4a9cbf587f2b.tar.xz
linux-4f5ca265788973e3f5a1129a96ee4a9cbf587f2b.zip
mm/migrate.c should #include <linux/syscalls.h>
Every file should include the headers containing the externs for its global functions (in this case for sys_move_pages()). Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/migrate.c')
-rw-r--r--mm/migrate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index 55bd355d170d..e7d13a708da0 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -30,6 +30,7 @@
#include <linux/vmalloc.h>
#include <linux/security.h>
#include <linux/memcontrol.h>
+#include <linux/syscalls.h>
#include "internal.h"