mm/util.c must #include <linux/sched.h>
commit3b8f14b41026fb7d7e9a4af2a4128a702d07ad26
authorAdrian Bunk <bunk@kernel.org>
Sat, 26 Jul 2008 22:22:28 +0000 (26 15:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 27 Jul 2008 03:16:47 +0000 (26 20:16 -0700)
treef28da266afc860c6e1958ed7ba6381c79432e4cb
parent510a35d4a47802f4a0028aa6bd2ca2170da5e32f
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>
mm/util.c