* [PATCH] mm: page_cgroup needs linux/vmalloc.h for vmalloc_node()/vfree().
@ 2008-10-21 3:36 Paul Mundt
2008-10-21 3:40 ` KAMEZAWA Hiroyuki
0 siblings, 1 reply; 2+ messages in thread
From: Paul Mundt @ 2008-10-21 3:36 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: KAMEZAWA Hiroyuki, linux-kernel
Trivial build fix for:
CC mm/page_cgroup.o
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'
make[1]: *** [mm/page_cgroup.o] Error 1
make: *** [mm/page_cgroup.o] Error 2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
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 <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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: page_cgroup needs linux/vmalloc.h for vmalloc_node()/vfree().
2008-10-21 3:36 [PATCH] mm: page_cgroup needs linux/vmalloc.h for vmalloc_node()/vfree() Paul Mundt
@ 2008-10-21 3:40 ` KAMEZAWA Hiroyuki
0 siblings, 0 replies; 2+ messages in thread
From: KAMEZAWA Hiroyuki @ 2008-10-21 3:40 UTC (permalink / raw)
To: Paul Mundt; +Cc: Linus Torvalds, Andrew Morton, linux-kernel
On Tue, 21 Oct 2008 12:36:23 +0900
Paul Mundt <lethal@linux-sh.org> wrote:
> Trivial build fix for:
>
> CC mm/page_cgroup.o
> 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'
> make[1]: *** [mm/page_cgroup.o] Error 1
> make: *** [mm/page_cgroup.o] Error 2
>
> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
>
Oh, thanks
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> ---
>
> 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 <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)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-21 3:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 3:36 [PATCH] mm: page_cgroup needs linux/vmalloc.h for vmalloc_node()/vfree() Paul Mundt
2008-10-21 3:40 ` KAMEZAWA Hiroyuki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.