diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2005-06-23 00:08:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 09:45:11 -0700 |
commit | a9ed8817966dd723754a990f1003264a21b5747e (patch) | |
tree | 8fe7560aaa06288c18a098db21591e51bbff925a | |
parent | 80bb82afea9eeb94ae3bfed418d079930da5d3b3 (diff) | |
download | op-kernel-dev-a9ed8817966dd723754a990f1003264a21b5747e.zip op-kernel-dev-a9ed8817966dd723754a990f1003264a21b5747e.tar.gz |
[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>
-rw-r--r-- | include/asm-i386/checksum.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <linux/in6.h> +#include <asm/uaccess.h> + /* * computes the checksum of a memory block at buff, length len, * and adds in "sum" (32-bit) |