From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <44690668e6fff6fb8adb3c9aed7ea1d6.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199702271914.NAA12312@earth.execpc.com> Date: Thu, 27 Feb 1997 19:30:37 +0000 (GMT) From: Philip Blundell Subject: patch for csum_partial copy In-Reply-To: This patch (against 2.1.27) fixes a problem that was preventing TCP from working on the Alpha. phil --- linux/arch/alpha/lib/csum_partial_copy.c~ Mon Feb 10 01:09:10 1997 +++ linux/arch/alpha/lib/csum_partial_copy.c Thu Feb 27 15:44:14 1997 @@ -305,8 +305,8 @@ } unsigned int -csum_partial_copy_from_user(int *errp, char *src, char *dst, - int len, unsigned int sum) +csum_partial_copy_from_user(char *src, char *dst, + int len, unsigned int sum, int *errp) { unsigned long checksum = (unsigned) sum; unsigned long soff = 7 & (unsigned long) src; @@ -363,7 +363,7 @@ unsigned int ret; int error = 0; - ret = csum_partial_copy_from_user(&error, src, dst, len, sum); + ret = csum_partial_copy_from_user(src, dst, len, sum, &error); if (error) printk("csum_partial_copy_old(): tell mingo to convert me!\n"); -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com