diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-22 17:14:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-23 11:55:01 -0400 |
commit | 4c8210427bd1b7efa1dabf93f4d2312f29908d8f (patch) | |
tree | 23f4c918e7e2135b565d14fca463bf0906e6e880 /mm | |
parent | 9bf9b2f3ad6362cdc9ef79291d440a92960b8f51 (diff) |
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 @@ | |||
5 | #include <linux/page_cgroup.h> | 5 | #include <linux/page_cgroup.h> |
6 | #include <linux/hash.h> | 6 | #include <linux/hash.h> |
7 | #include <linux/memory.h> | 7 | #include <linux/memory.h> |
8 | #include <linux/vmalloc.h> | ||
8 | 9 | ||
9 | static void __meminit | 10 | static void __meminit |
10 | __init_page_cgroup(struct page_cgroup *pc, unsigned long pfn) | 11 | __init_page_cgroup(struct page_cgroup *pc, unsigned long pfn) |