patch-2.0.21-2.1.0 linux/include/asm-i386/checksum.h

Next file: linux/include/asm-i386/dma.h
Previous file: linux/include/asm-alpha/segment.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file lx2.0/v2.0.21/linux/include/asm-i386/checksum.h linux/include/asm-i386/checksum.h
@@ -27,13 +27,10 @@
 
 
 /*
- * the same as csum_partial_copy, but copies from user space.
- *
- * here even more important to align src and dst on a 32-bit (or even
- * better 64-bit) boundary
+ * the same as csum_partial, but copies from user space (but on the x86
+ * we have just one address space, so this is identical to the above)
  */
-
-unsigned int csum_partial_copy_fromuser(const char *src, char *dst, int len, int sum);
+#define csum_partial_copy_fromuser csum_partial_copy
 
 /*
  *	This is a version of ip_compute_csum() optimized for IP headers,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov