Skip to content

Commit

Permalink
xtensa: fix a build error in arch/xtensa/include/asm/uaccess.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
WANG Cong authored and Linus Torvalds committed Jul 26, 2011
1 parent 0d0138e commit 90b03f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/xtensa/include/asm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#define _XTENSA_UACCESS_H

#include <linux/errno.h>
#include <linux/prefetch.h>

#define VERIFY_READ 0
#define VERIFY_WRITE 1
Expand Down

0 comments on commit 90b03f5

Please sign in to comment.