summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2011-07-26 02:11:54 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 05:57:07 +0200
commit90b03f5052be92ab0ba0aa36abcf33a207706866 (patch)
tree0f32c711d3be6b745ca79c701bf17c31c1a7a7c6 /arch/xtensa/include
parentxtensa: prevent arbitrary read in ptrace (diff)
downloadlinux-90b03f5052be92ab0ba0aa36abcf33a207706866.tar.xz
linux-90b03f5052be92ab0ba0aa36abcf33a207706866.zip
xtensa: fix a build error in arch/xtensa/include/asm/uaccess.h
Fix the following build error: arch/xtensa/include/asm/uaccess.h:403: error: implicit declaration of function 'prefetch' arch/xtensa/include/asm/uaccess.h:412: error: implicit declaration of function 'prefetchw' Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/xtensa/include')
-rw-r--r--arch/xtensa/include/asm/uaccess.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/uaccess.h b/arch/xtensa/include/asm/uaccess.h
index 5b0c18c1cce1..c141b115d3be 100644
--- a/arch/xtensa/include/asm/uaccess.h
+++ b/arch/xtensa/include/asm/uaccess.h
@@ -17,6 +17,7 @@
#define _XTENSA_UACCESS_H
#include <linux/errno.h>
+#include <linux/prefetch.h>
#define VERIFY_READ 0
#define VERIFY_WRITE 1