From 4c8210427bd1b7efa1dabf93f4d2312f29908d8f Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Wed, 22 Oct 2008 14:14:58 -0700 Subject: 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 Reviewed-by: KAMEZAWA Hiroyuki Cc: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- mm/page_cgroup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index 5d86550..78242b4 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c @@ -5,6 +5,7 @@ #include #include #include +#include static void __meminit __init_page_cgroup(struct page_cgroup *pc, unsigned long pfn) -- cgit v1.1