From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>, Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: linux-kernel@vger.kernel.org, Nick Piggin <npiggin@suse.de>,
dhowells@redhat.com
Subject: [-mm patch] arch/frv/kernel/futex.c must #include <linux/uaccess.h>
Date: Sat, 2 Dec 2006 13:17:42 +0100 [thread overview]
Message-ID: <20061202121742.GN11084@stusta.de> (raw)
In-Reply-To: <20061128020246.47e481eb.akpm@osdl.org>
This patch fixes the following compile error with
-Werror-implicit-function-declaration
(without -Werror-implicit-function-declaration it's a link error):
<-- snip -->
...
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
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.19-rc6-mm2/arch/frv/kernel/futex.c.old 2006-12-02 13:06:45.000000000 +0100
+++ linux-2.6.19-rc6-mm2/arch/frv/kernel/futex.c 2006-12-02 13:07:17.000000000 +0100
@@ -10,9 +10,9 @@
*/
#include <linux/futex.h>
+#include <linux/uaccess.h>
#include <asm/futex.h>
#include <asm/errno.h>
-#include <asm/uaccess.h>
/*
* the various futex operations; MMU fault checking is ignored under no-MMU
next prev parent reply other threads:[~2006-12-02 12:17 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-28 10:02 2.6.19-rc6-mm2 Andrew Morton
2006-11-28 10:08 ` 2.6.19-rc6-mm2 Akinobu Mita
2006-11-28 11:35 ` 2.6.19-rc6-mm2 Mariusz Kozlowski
2006-11-28 11:41 ` 2.6.19-rc6-mm2 Mariusz Kozlowski
2006-11-28 22:30 ` 2.6.19-rc6-mm2 Greg KH
2006-11-29 9:06 ` 2.6.19-rc6-mm2 Kay Sievers
2006-11-29 22:54 ` 2.6.19-rc6-mm2 Andy Whitcroft
2006-11-29 23:09 ` 2.6.19-rc6-mm2 Kay Sievers
2006-11-28 21:22 ` 2.6.19-rc6-mm2 Miles Lane
2006-11-28 21:59 ` 2.6.19-rc6-mm2 Vivek Goyal
2006-11-29 0:24 ` 2.6.19-rc6-mm2 Thomas Tuttle
2006-11-29 0:53 ` 2.6.19-rc6-mm2 Andrew Morton
2006-11-29 5:17 ` 2.6.19-rc6-mm2 Avi Kivity
2006-11-29 14:10 ` 2.6.19-rc6-mm2 Avi Kivity
2006-12-03 8:46 ` 2.6.19-rc6-mm2 Avi Kivity
2006-11-29 0:58 ` 2.6.19-rc6-mm2 Andrew Morton
2006-11-29 1:08 ` 2.6.19-rc6-mm2 Jean Tourrilhes
2006-11-29 0:59 ` 2.6.19-rc6-mm2 Jiri Kosina
2006-12-05 1:33 ` 2.6.19-rc6-mm2 Neil Brown
2006-12-05 4:07 ` 2.6.19-rc6-mm2 Neil Brown
2006-12-05 7:48 ` 2.6.19-rc6-mm2 Jiri Kosina
2006-12-05 22:13 ` 2.6.19-rc6-mm2 Jiri Kosina
2006-12-08 1:31 ` 2.6.19-rc6-mm2 Neil Brown
2006-12-08 12:35 ` 2.6.19-rc6-mm2 Jiri Kosina
2006-11-29 10:04 ` [-mm patch] #if 0 fs/gfs2/acl.c:gfs2_check_acl() Adrian Bunk
2006-11-29 10:14 ` Steven Whitehouse
2006-11-29 12:42 ` [PATCH] compile fix on x86 without X86_LOCAL_APIC (was 2.6.19-rc6-mm2) Jiri Kosina
2006-11-29 20:57 ` Andrew Morton
2006-11-29 19:54 ` 2.6.19-rc6-mm2: uli526x only works after reload Rafael J. Wysocki
2006-11-29 20:08 ` Rafael J. Wysocki
2006-11-29 21:30 ` Andrew Morton
2006-11-29 21:31 ` Rafael J. Wysocki
2006-11-29 23:08 ` Rafael J. Wysocki
2006-11-29 23:26 ` Andrew Morton
2006-11-30 1:04 ` Rafael J. Wysocki
2006-11-30 2:18 ` Andrew Morton
2006-12-01 1:20 ` Greg KH
2006-12-02 0:07 ` Rafael J. Wysocki
2006-11-30 20:21 ` Rafael J. Wysocki
2006-11-30 21:12 ` Andrew Morton
2006-11-30 21:32 ` Rafael J. Wysocki
2006-12-01 1:08 ` Rafael J. Wysocki
2006-12-01 1:27 ` Greg KH
2006-12-04 23:13 ` Greg KH
2006-11-30 3:42 ` 2.6.19-rc6-mm2 Ed Tomlinson
2006-11-30 4:10 ` 2.6.19-rc6-mm2 Randy Dunlap
2006-11-30 13:03 ` 2.6.19-rc6-mm2 Ed Tomlinson
2006-12-02 0:33 ` 2.6.19-rc6-mm2 Ed Tomlinson
2006-12-02 0:32 ` 2.6.19-rc6-mm2 Andrew Morton
2006-12-02 3:19 ` 2.6.19-rc6-mm2 Ed Tomlinson
2006-12-02 4:09 ` 2.6.19-rc6-mm2 Akinobu Mita
2006-12-02 22:29 ` 2.6.19-rc6-mm2 Ed Tomlinson
2006-12-02 12:17 ` Adrian Bunk [this message]
2006-12-04 11:20 ` [-mm patch] arch/frv/kernel/futex.c must #include <linux/uaccess.h> David Howells
2006-12-02 17:54 ` [-mm patch] fix include/asm-xtensa/unistd.h compilation Adrian Bunk
2006-12-03 7:49 ` [-mm patch] drivers/net/netxen/: possible cleanups Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061202121742.GN11084@stusta.de \
--to=bunk@stusta.de \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@osdl.org \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=npiggin@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox