[patch -mm] s390: pagefault_disable/enable build fix

From: Heiko Carstens
Date: Thu Nov 02 2006 - 04:06:47 EST


From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>

arch/s390/lib/lib.a(uaccess_std.o)(.text+0x282): In function `futex_atomic_op':
: undefined reference to `pagefault_disable'

Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---

Looks like we want to replace all asm/uaccess.h with linux/uaccess.h...

arch/s390/lib/uaccess_std.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.19-rc4-mm2/arch/s390/lib/uaccess_std.c
===================================================================
--- linux-2.6.19-rc4-mm2.orig/arch/s390/lib/uaccess_std.c 2006-11-02 09:37:08.000000000 +0100
+++ linux-2.6.19-rc4-mm2/arch/s390/lib/uaccess_std.c 2006-11-02 09:48:31.000000000 +0100
@@ -11,7 +11,7 @@

#include <linux/errno.h>
#include <linux/mm.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
#include <asm/futex.h>

#ifndef __s390x__
-
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/