diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-22 14:14:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-23 08:55:01 -0700 |
commit | 4c8210427bd1b7efa1dabf93f4d2312f29908d8f (patch) | |
tree | 23f4c918e7e2135b565d14fca463bf0906e6e880 | |
parent | 9bf9b2f3ad6362cdc9ef79291d440a92960b8f51 (diff) | |
download | kernel-crypto-4c8210427bd1b7efa1dabf93f4d2312f29908d8f.tar.gz kernel-crypto-4c8210427bd1b7efa1dabf93f4d2312f29908d8f.tar.xz kernel-crypto-4c8210427bd1b7efa1dabf93f4d2312f29908d8f.zip |
mm: page_cgroup needs linux/vmalloc.h for vmalloc_node()/vfree().
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'
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-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 5d86550701f..78242b4d7ed 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c @@ -5,6 +5,7 @@ #include <linux/page_cgroup.h> #include <linux/hash.h> #include <linux/memory.h> +#include <linux/vmalloc.h> static void __meminit __init_page_cgroup(struct page_cgroup *pc, unsigned long pfn) |