summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2013-02-21 13:55:02 +0400
committerChris Zankel <chris@zankel.net>2013-02-23 19:23:13 -0800
commitb0c438e642699f8c47b84de957f30cf586cdbebd (patch)
treea41c7762ea97ff10f4f9450d3366057e9f7e674c /arch/xtensa/include/asm
parente98c5b5b52aa12f81197296d3498096345a5859f (diff)
downloadblackbird-op-linux-b0c438e642699f8c47b84de957f30cf586cdbebd.tar.gz
blackbird-op-linux-b0c438e642699f8c47b84de957f30cf586cdbebd.zip
xtensa: add missing include asm/uaccess.h to checksum.h
This fixes the following build errors seen in the linux-next: arch/xtensa/include/asm/checksum.h:247:2: error: implicit declaration of function 'access_ok' [-Werror=implicit-function-declaration] arch/xtensa/include/asm/checksum.h:247:16: error: 'VERIFY_WRITE' undeclared (first use in this function) Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/include/asm')
-rw-r--r--arch/xtensa/include/asm/checksum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/checksum.h b/arch/xtensa/include/asm/checksum.h
index aed7ad68ca46..0593de689b56 100644
--- a/arch/xtensa/include/asm/checksum.h
+++ b/arch/xtensa/include/asm/checksum.h
@@ -12,6 +12,7 @@
#define _XTENSA_CHECKSUM_H
#include <linux/in6.h>
+#include <asm/uaccess.h>
#include <variant/core.h>
/*
OpenPOWER on IntegriCloud