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 aed7ad68ca46e9a9a5f80ddef999ec8f003512d0..0593de689b565131c9b0cd53081b6d2c245718f3 100644 (file)
@@ -12,6 +12,7 @@
 #define _XTENSA_CHECKSUM_H
 
 #include <linux/in6.h>
+#include <asm/uaccess.h>
 #include <variant/core.h>
 
 /*
This page took 0.026097 seconds and 5 git commands to generate.