xtensa: add missing include asm/uaccess.h to checksum.h
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 21 Feb 2013 09:55:02 +0000 (13:55 +0400)
committerChris Zankel <chris@zankel.net>
Sun, 24 Feb 2013 03:23:13 +0000 (19:23 -0800)
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>
arch/xtensa/include/asm/checksum.h

index aed7ad6..0593de6 100644 (file)
@@ -12,6 +12,7 @@
 #define _XTENSA_CHECKSUM_H
 
 #include <linux/in6.h>
+#include <asm/uaccess.h>
 #include <variant/core.h>
 
 /*