projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80bb82a
)
[PATCH] x86: #include asm/uaccess.h in asm/checksum.h
author
Alexey Dobriyan
<adobriyan@gmail.com>
Thu, 23 Jun 2005 07:08:32 +0000
(
00:08
-0700)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/include/asm-i386/checksum.h
b/include/asm-i386/checksum.h
index 641342002bcd39e3835793394b3961b59efd8427..f949e44c2a35d290655258c83cf3f0f5731e7e20 100644
(file)
--- 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)