[BUILD-FAILURE] next-20091013 - s390x build breaks at mm/faultwith !CONFIG_S390_EXEC_PROTECT

From: Kamalesh Babulal
Date: Tue Oct 13 2009 - 06:08:09 EST


Hi Martin,

next-20091013 randconfig build breaks on s390, with
CONFIG_S390_EXEC_PROTECT=y

arch/s390/mm/fault.c: In function 'signal_return':
arch/s390/mm/fault.c:221: error: implicit declaration of function 'is_compat_task'
make[1]: *** [arch/s390/mm/fault.o] Error 1

is_compat_task is defined at asm/compat.h, including the
header, helps

Signed-off-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
--
arch/s390/mm/fault.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index 43b3778..4e73e8b 100644
--- a/arch/s390/mm/fault.c
+++ b/arch/s390/mm/fault.c
@@ -34,6 +34,7 @@
#include <asm/pgtable.h>
#include <asm/s390_ext.h>
#include <asm/mmu_context.h>
+#include <asm/compat.h>
#include "../kernel/entry.h"

#ifndef CONFIG_64BIT


Kamalesh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/