Skip to content

Commit

Permalink
mm: page_cgroup needs linux/vmalloc.h for vmalloc_node()/vfree().
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
pmundt authored and torvalds committed Oct 23, 2008
1 parent 9bf9b2f commit 4c82104
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm/page_cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4c82104

Please sign in to comment.