* [PATCH] Fix page_cgroup build breakage
@ 2008-10-21 6:12 Heiko Carstens
2008-10-21 6:15 ` KAMEZAWA Hiroyuki
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Carstens @ 2008-10-21 6:12 UTC (permalink / raw)
To: Andrew Morton, Linus Torvalds; +Cc: KAMEZAWA Hiroyuki, linux-kernel, linux-s390
Subject: [PATCH] Fix page_cgroup build breakage
From: Heiko Carstens <heiko.carstens@de.ibm.com>
On s390 I get this:
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] Error 2
caused by 52d4b9ac0b985168009c2a57098324e67bae171f
("memcg: allocate all page_cgroup at boot")
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
mm/page_cgroup.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6/mm/page_cgroup.c
===================================================================
--- linux-2.6.orig/mm/page_cgroup.c
+++ linux-2.6/mm/page_cgroup.c
@@ -3,6 +3,7 @@
#include <linux/bootmem.h>
#include <linux/bit_spinlock.h>
#include <linux/page_cgroup.h>
+#include <linux/vmalloc.h>
#include <linux/hash.h>
#include <linux/memory.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix page_cgroup build breakage
2008-10-21 6:12 [PATCH] Fix page_cgroup build breakage Heiko Carstens
@ 2008-10-21 6:15 ` KAMEZAWA Hiroyuki
0 siblings, 0 replies; 2+ messages in thread
From: KAMEZAWA Hiroyuki @ 2008-10-21 6:15 UTC (permalink / raw)
To: Heiko Carstens; +Cc: Andrew Morton, Linus Torvalds, linux-kernel, linux-s390
On Tue, 21 Oct 2008 08:12:19 +0200
Heiko Carstens <heiko.carstens@de.ibm.com> wrote:
> Subject: [PATCH] Fix page_cgroup build breakage
>
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
>
> On s390 I get this:
>
> 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] Error 2
>
> caused by 52d4b9ac0b985168009c2a57098324e67bae171f
> ("memcg: allocate all page_cgroup at boot")
>
Thank you and sorry.
Note: same as mm-page_cgroup-needs-linux-vmalloch-for-vmalloc_node-vfree.patch
in mm-stack.
Regards,
-Kame
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-21 6:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21 6:12 [PATCH] Fix page_cgroup build breakage Heiko Carstens
2008-10-21 6:15 ` KAMEZAWA Hiroyuki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®