summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/checksum.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/asm-alpha/checksum.h
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/asm-alpha/checksum.h')
-rw-r--r--include/asm-alpha/checksum.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-alpha/checksum.h b/include/asm-alpha/checksum.h
index 26c672521..6cf76c5a7 100644
--- a/include/asm-alpha/checksum.h
+++ b/include/asm-alpha/checksum.h
@@ -44,9 +44,16 @@ unsigned int csum_partial_copy(const char *src, char *dst, int len, unsigned int
/*
* the same as csum_partial, but copies from user space (but on the alpha
* we have just one address space, so this is identical to the above)
+ *
+ * this is obsolete and will go away.
*/
#define csum_partial_copy_fromuser csum_partial_copy
+/*
+ * this is a new version of the above that records errors it finds in *errp,
+ * but continues and zeros the rest of the buffer.
+ */
+unsigned int csum_partial_copy_from_user(const char *src, char *dst, int len, unsigned int sum, int *errp);
/*
* this routine is used for miscellaneous IP-like checksums, mainly