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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]