diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-23 01:14:58 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-23 19:55:01 +0400 |
commit | 4c8210427bd1b7efa1dabf93f4d2312f29908d8f (patch) | |
tree | 23f4c918e7e2135b565d14fca463bf0906e6e880 /mm/page_cgroup.c | |
parent | 9bf9b2f3ad6362cdc9ef79291d440a92960b8f51 (diff) | |
download | linux-4c8210427bd1b7efa1dabf93f4d2312f29908d8f.tar.xz |
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/page_cgroup.c')
-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) |