diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2011-07-26 02:11:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 05:57:07 +0200 |
commit | 90b03f5052be92ab0ba0aa36abcf33a207706866 (patch) | |
tree | 0f32c711d3be6b745ca79c701bf17c31c1a7a7c6 /arch/xtensa/include | |
parent | xtensa: prevent arbitrary read in ptrace (diff) | |
download | linux-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.h | 1 |
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 |