diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-10-21 08:12:19 +0200 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-10-21 18:36:22 +1100 |
commit | 689afd4043e4bc553927f281fe63f613544b2874 (patch) | |
tree | 98f7cbba8308a2de453a74e57f8214b4572ca905 | |
parent | 31cd1801b1a4772aa04fff9ad532845feb443f57 (diff) |
Fix page_cgroup build breakage
On s390 I get this:
CC mm/page_cgroup.o
mm/page_cgroup.c: In function 'init_section_page_cgroup':
mm/page_cgroup.c:111: error: implicit declaration of function 'vmalloc_node'
mm/page_cgroup.c:111: warning: assignment makes pointer from integer without a cast
mm/page_cgroup.c: In function '__free_page_cgroup':
mm/page_cgroup.c:140: error: implicit declaration of function 'vfree'
make[1]: *** [mm/page_cgroup.o] Error 1
make: *** [mm] Error 2
caused by 52d4b9ac0b985168009c2a57098324e67bae171f
("memcg: allocate all page_cgroup at boot")
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
-rw-r--r-- | mm/page_cgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index 5d86550701f2..d2e7f681f334 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c @@ -3,6 +3,7 @@ #include <linux/bootmem.h> #include <linux/bit_spinlock.h> #include <linux/page_cgroup.h> +#include <linux/vmalloc.h> #include <linux/hash.h> #include <linux/memory.h> |