]> err.no Git - linux-2.6/commitdiff
[PATCH] x86: #include asm/uaccess.h in asm/checksum.h
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 23 Jun 2005 07:08:32 +0000 (00:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:11 +0000 (09:45 -0700)
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 <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/checksum.h

index 641342002bcd39e3835793394b3961b59efd8427..f949e44c2a35d290655258c83cf3f0f5731e7e20 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <linux/in6.h>
 
+#include <asm/uaccess.h>
+
 /*
  * computes the checksum of a memory block at buff, length len,
  * and adds in "sum" (32-bit)