patch-2.2.0-pre1 linux/include/asm-i386/checksum.h

Next file: linux/include/asm-i386/init.h
Previous file: linux/include/asm-i386/bitops.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/include/asm-i386/checksum.h linux/include/asm-i386/checksum.h
@@ -14,7 +14,7 @@
  *
  * it's best to have buff aligned on a 32-bit boundary
  */
-unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
+asmlinkage unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
 
 /*
  * the same as csum_partial, but copies from src while it
@@ -24,8 +24,8 @@
  * better 64-bit) boundary
  */
 
-unsigned int csum_partial_copy_generic( const char *src, char *dst, int len, int sum,
-					int *src_err_ptr, int *dst_err_ptr);
+asmlinkage unsigned int csum_partial_copy_generic( const char *src, char *dst, int len, int sum,
+						   int *src_err_ptr, int *dst_err_ptr);
 
 /*
  *	Note: when you get a NULL pointer exception here this means someone

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]