lkml.org 
[lkml]   [2006]   [Nov]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 6 Nov 2006 18:35:21 +0000
Subject[PATCH] s390 need definitions for pagefault_disable and pagefault_enable
FromAndy Whitcroft <>
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 <apw@shadowen.org>
---
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-11-06 18:39    [W:0.202 / U:0.050 seconds]
©2003-2008 Jasper Spaans