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 <[email protected]>
Cc: Chris Zankel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
WANG Cong 2011-07-25 17:11:54 -07:00 • committed by Linus Torvalds
commit 90b03f5052

View file

@ -17,6 +17,7 @@
#define _XTENSA_UACCESS_H
#include <linux/errno.h>
#include <linux/prefetch.h>
#define VERIFY_READ 0
#define VERIFY_WRITE 1