* 2.6.23-rc7-mm1 -- s390 compile failures
[not found] <20070924021716.9bfe7dfb.akpm@linux-foundation.org>
@ 2007-09-24 12:32 ` Andy Whitcroft
2007-09-24 12:49 ` Cedric Le Goater
0 siblings, 1 reply; 2+ messages in thread
From: Andy Whitcroft @ 2007-09-24 12:32 UTC (permalink / raw)
To: Andrew Morton
Cc: linux-kernel, Martin Schwidefsky, Heiko Carstens, linux390,
linux-s390
Getting compile errors on S390:
CC arch/s390/mm/cmm.o
arch/s390/mm/cmm.c: In function `cmm_init':
arch/s390/mm/cmm.c:431: error: implicit declaration of function
`register_oom_notifier'
arch/s390/mm/cmm.c:443: error: implicit declaration of function
`unregister_oom_notifier'
make[1]: *** [arch/s390/mm/cmm.o] Error 1
make: *** [arch/s390/mm] Error 2
-apw
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.23-rc7-mm1 -- s390 compile failures
2007-09-24 12:32 ` 2.6.23-rc7-mm1 -- s390 compile failures Andy Whitcroft
@ 2007-09-24 12:49 ` Cedric Le Goater
0 siblings, 0 replies; 2+ messages in thread
From: Cedric Le Goater @ 2007-09-24 12:49 UTC (permalink / raw)
To: Andy Whitcroft
Cc: Andrew Morton, linux-kernel, Martin Schwidefsky, Heiko Carstens,
linux390, linux-s390, David Rientjes
Andy Whitcroft wrote:
> Getting compile errors on S390:
>
> CC arch/s390/mm/cmm.o
> arch/s390/mm/cmm.c: In function `cmm_init':
> arch/s390/mm/cmm.c:431: error: implicit declaration of function
> `register_oom_notifier'
> arch/s390/mm/cmm.c:443: error: implicit declaration of function
> `unregister_oom_notifier'
> make[1]: *** [arch/s390/mm/cmm.o] Error 1
> make: *** [arch/s390/mm] Error 2
yes. It's from oom-move-prototypes-to-appropriate-header-file.patch.
I think this patch fixes it.
C.
Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
---
arch/s390/mm/cmm.c | 1 +
1 file changed, 1 insertion(+)
Index: 2.6.23-rc7-mm1/arch/s390/mm/cmm.c
===================================================================
--- 2.6.23-rc7-mm1.orig/arch/s390/mm/cmm.c
+++ 2.6.23-rc7-mm1/arch/s390/mm/cmm.c
@@ -17,6 +17,7 @@
#include <linux/ctype.h>
#include <linux/swap.h>
#include <linux/kthread.h>
+#include <linux/oom.h>
#include <asm/pgalloc.h>
#include <asm/uaccess.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-24 12:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20070924021716.9bfe7dfb.akpm@linux-foundation.org>
2007-09-24 12:32 ` 2.6.23-rc7-mm1 -- s390 compile failures Andy Whitcroft
2007-09-24 12:49 ` Cedric Le Goater
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox