Subject: [BUILD-FAILURE] next-20091013 - s390x build breaks at mm/fault with !CONFIG_S390_EXEC_PROTECT

From: Kamalesh Babulal <[email-masked]>
Date: Tue, 13 Oct 2009 15:36:48 +0530

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 <[email-masked]>
--
 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