summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/uaccess.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2007-01-29 22:19:50 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-30 17:26:45 +0100
commita0f7b67ae470f3afed3f03d017fd1c29fd1b58b8 (patch)
treed5b8f8ac5b974268ce4a097f8ea3cc65c2a67301 /include/asm-m68k/uaccess.h
parent[PATCH] Fix "CONFIG_X86_64_" typo in drivers/kvm/svm.c (diff)
downloadlinux-a0f7b67ae470f3afed3f03d017fd1c29fd1b58b8.tar.xz
linux-a0f7b67ae470f3afed3f03d017fd1c29fd1b58b8.zip
[PATCH] m68k: uaccess.h needs sched.h
In file included from include/linux/crypto.h:26, from crypto/cipher.c:17: include/linux/uaccess.h: In function 'pagefault_disable': include/linux/uaccess.h:18: error: dereferencing pointer to incomplete type include/linux/uaccess.h: In function 'pagefault_enable': include/linux/uaccess.h:33: error: dereferencing pointer to incomplete type video_buf need PCI. Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m68k/uaccess.h')
-rw-r--r--include/asm-m68k/uaccess.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-m68k/uaccess.h b/include/asm-m68k/uaccess.h
index e4c9f080ff20..6a4cf2081512 100644
--- a/include/asm-m68k/uaccess.h
+++ b/include/asm-m68k/uaccess.h
@@ -7,6 +7,7 @@
#include <linux/compiler.h>
#include <linux/errno.h>
#include <linux/types.h>
+#include <linux/sched.h>
#include <asm/segment.h>
#define VERIFY_READ 0