diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-22 23:14:58 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-23 17:55:01 +0200 |
commit | 4c8210427bd1b7efa1dabf93f4d2312f29908d8f (patch) | |
tree | 23f4c918e7e2135b565d14fca463bf0906e6e880 /mm | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (diff) | |
download | linux-4c8210427bd1b7efa1dabf93f4d2312f29908d8f.tar.xz linux-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>
Diffstat (limited to 'mm')
-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..78242b4d7edf 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) |