From: Alexey Dobriyan Date: Thu, 23 Jun 2005 07:08:32 +0000 (-0700) Subject: [PATCH] x86: #include asm/uaccess.h in asm/checksum.h X-Git-Tag: v2.6.13-rc4~130^2~108 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9ed8817966dd723754a990f1003264a21b5747e;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [PATCH] x86: #include asm/uaccess.h in asm/checksum.h csum_and_copy_to_user is static inline and uses VERIFY_WRITE. Patch allows to remove asm/uaccess.h from i386_ksyms.c without dependency surprises. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-i386/checksum.h b/include/asm-i386/checksum.h index 6413420..f949e44 100644 --- a/include/asm-i386/checksum.h +++ b/include/asm-i386/checksum.h @@ -3,6 +3,8 @@ #include +#include + /* * computes the checksum of a memory block at buff, length len, * and adds in "sum" (32-bit)