mm: page_cgroup needs linux/vmalloc.h for vmalloc_node()/vfree().
authorPaul Mundt <[email protected]>
Wed, 22 Oct 2008 21:14:58 +0000 (14:14 -0700)
committerLinus Torvalds <[email protected]>
Thu, 23 Oct 2008 15:55:01 +0000 (08:55 -0700)
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 <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/page_cgroup.c

index 5d86550701f2fb40f60c649b4aa91c56824a9e3b..78242b4d7edfd835725a9f3cf9c7aec0b8b6aac7 100644 (file)
@@ -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)