aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-26 18:22:28 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 23:16:47 -0400
commit3b8f14b41026fb7d7e9a4af2a4128a702d07ad26 (patch)
treef28da266afc860c6e1958ed7ba6381c79432e4cb /mm
parent510a35d4a47802f4a0028aa6bd2ca2170da5e32f (diff)
mm/util.c must #include <linux/sched.h>
mm/util.c: In function 'arch_pick_mmap_layout': mm/util.c:144: error: dereferencing pointer to incomplete type mm/util.c:145: error: 'arch_get_unmapped_area' undeclared (first use in this function) mm/util.c:145: error: (Each undeclared identifier is reported only once mm/util.c:145: error: for each function it appears in.) mm/util.c:146: error: 'arch_unmap_area' undeclared (first use in this function) Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/util.c b/mm/util.c
index 0efd83097ecf..d8d02210e06c 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -3,6 +3,7 @@
3#include <linux/string.h> 3#include <linux/string.h>
4#include <linux/module.h> 4#include <linux/module.h>
5#include <linux/err.h> 5#include <linux/err.h>
6#include <linux/sched.h>
6#include <asm/uaccess.h> 7#include <asm/uaccess.h>
7 8
8/** 9/**