From: Paul Mundt Date: Wed, 22 Oct 2008 21:14:58 +0000 (-0700) Subject: mm: page_cgroup needs linux/vmalloc.h for vmalloc_node()/vfree(). X-Git-Tag: v2.6.28-rc1~57 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=4c8210427bd1b7efa1dabf93f4d2312f29908d8f;p=linux-2.6-omap-h63xx.git 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 --- 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 #include #include +#include static void __meminit __init_page_cgroup(struct page_cgroup *pc, unsigned long pfn)