Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax
In directory usw-pr-cvs1:/tmp/cvs-serv16637
Modified Files:
checksum.h
Log Message:
DA: check sum routine header file .. will clean up later on I promise
Index: checksum.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/checksum.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- checksum.h 2001/02/25 00:09:22 1.4
+++ checksum.h 2001/03/03 02:17:47 1.5
@@ -41,12 +41,6 @@
{
checksum_ADDL;
checksum_ADDC;
- /* This printk is required for some reason to make w get updated
- * for the next loop iteration.... no idea why.. tried a couple
- * of things like adding a varible but they seem to get optimsed
- * out ... - D.A. 3 Dec 2000
- */
- // printk("w: %8X, sum: %8X, i: %i\n", *(unsigned int *)w, sum, i);
}
__asm__("addl2 %1, %0\n"
@@ -110,7 +104,7 @@
csum_partial_copy(const char *src, char *dst, int len,unsigned int sum)
{
memcpy(dst,src,len);
- return csum_partial_inline(dst, len, sum);
+ return csum_partial(dst, len, sum);
}
/*
@@ -136,7 +130,7 @@
csum_partial_copy_nocheck (const char *src, char *dst, int len, unsigned int sum)
{
memcpy(dst,src,len);
- return csum_partial_inline(dst, len, sum);
+ return csum_partial(dst, len, sum);
}
@@ -146,7 +140,7 @@
extern inline unsigned short csum_fold(unsigned int sum)
{
- sum = (sum & 0xffff) + (sum >> 16);
+ sum = (sum & 0xffff) + (sum >> 16);
sum = (sum & 0xffff) + (sum >> 16);
return ~sum;
}
|