s390: need definitions for pagefault_disable and pagefault_enable
Seems that when the changes for user futex's went into 2.6.19-rc4-mm2
s390 was missed. Leading to the following compile failure:
arch/s390/lib/lib.a(uaccess_std.o)(.text+0x37c): In function
`futex_atomic_op':
: undefined reference to `pagefault_disable'
arch/s390/lib/lib.a(uaccess_std.o)(.text+0x3cc): In function
`futex_atomic_op':
: undefined reference to `pagefault_enable'
[...]
This seems to be enough to get testing working again.
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
---
diff --git a/arch/s390/lib/uaccess_std.c b/arch/s390/lib/uaccess_std.c
index 9bbeaa0..ad296dc 100644
--- a/arch/s390/lib/uaccess_std.c
+++ b/arch/s390/lib/uaccess_std.c
@@ -11,6 +11,8 @@
#include <linux/errno.h>
#include <linux/mm.h>
+#include <linux/uaccess.h>
+
#include <asm/uaccess.h>
#include <asm/futex.h>
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390