summaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2005-06-23 09:08:32 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-23 18:45:11 +0200
commita9ed8817966dd723754a990f1003264a21b5747e (patch)
tree8fe7560aaa06288c18a098db21591e51bbff925a /include/asm-i386
parent[PATCH] VIA 82C586B IRQ routing fix (diff)
downloadlinux-a9ed8817966dd723754a990f1003264a21b5747e.tar.xz
linux-a9ed8817966dd723754a990f1003264a21b5747e.zip
[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 <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/checksum.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/checksum.h b/include/asm-i386/checksum.h
index 641342002bcd..f949e44c2a35 100644
--- a/include/asm-i386/checksum.h
+++ b/include/asm-i386/checksum.h
@@ -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)