aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-06 23:33:50 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 11:39:26 -0500
commite9c1528a429c831458e54c8701a0b80ba563a7a8 (patch)
tree1f4b519bb5281e9537fc4fb42d3734479486be46
parent48ad504ee7d598431cb2d0b2f01c6d1aff1d2a07 (diff)
[PATCH] arch/frv/kernel/futex.c must #include <linux/uaccess.h>
This patch fixes the following compile error with -Werror-implicit-function-declaration (without -Werror-implicit-function-declaration it's a link error): ... CC arch/frv/kernel/futex.o /home/bunk/linux/kernel-2.6/linux-2.6.19-rc6-mm2/arch/frv/kernel/futex.c: In function 'futex_atomic_op_inuser': /home/bunk/linux/kernel-2.6/linux-2.6.19-rc6-mm2/arch/frv/kernel/futex.c:203: error: implicit declaration of function 'pagefault_disable' /home/bunk/linux/kernel-2.6/linux-2.6.19-rc6-mm2/arch/frv/kernel/futex.c:226: error: implicit declaration of function 'pagefault_enable' make[2]: *** [arch/frv/kernel/futex.o] Error 1 ... Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/frv/kernel/futex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/frv/kernel/futex.c b/arch/frv/kernel/futex.c
index 53dc5ed1ebda..14f64b054c7e 100644
--- a/arch/frv/kernel/futex.c
+++ b/arch/frv/kernel/futex.c
@@ -10,9 +10,9 @@
10 */ 10 */
11 11
12#include <linux/futex.h> 12#include <linux/futex.h>
13#include <linux/uaccess.h>
13#include <asm/futex.h> 14#include <asm/futex.h>
14#include <asm/errno.h> 15#include <asm/errno.h>
15#include <asm/uaccess.h>
16 16
17/* 17/*
18 * the various futex operations; MMU fault checking is ignored under no-MMU 18 * the various futex operations; MMU fault checking is ignored under no-MMU