vserver 2.0 rc7
[linux-2.6.git] / arch / parisc / lib / checksum.c
index 9866c93..8a1e080 100644 (file)
@@ -131,9 +131,9 @@ EXPORT_SYMBOL(csum_partial_copy_nocheck);
  * Copy from userspace and compute checksum.  If we catch an exception
  * then zero the rest of the buffer.
  */
-unsigned int csum_partial_copy_from_user (const unsigned char *src, unsigned char *dst,
-                                          int len, unsigned int sum,
-                                          int *err_ptr)
+unsigned int csum_partial_copy_from_user(const unsigned char __user *src,
+                                       unsigned char *dst, int len,
+                                       unsigned int sum, int *err_ptr)
 {
        int missing;