patch-2.4.0-test9 linux/arch/arm/lib/csumpartialcopyuser.S
Next file: linux/arch/arm/lib/delay.S
Previous file: linux/arch/arm/lib/csumpartialcopy.S
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Sep 18 15:15:25 2000
- Orig file:
v2.4.0-test8/linux/arch/arm/lib/csumpartialcopyuser.S
- Orig date:
Tue Apr 25 16:54:39 2000
diff -u --recursive --new-file v2.4.0-test8/linux/arch/arm/lib/csumpartialcopyuser.S linux/arch/arm/lib/csumpartialcopyuser.S
@@ -1,7 +1,11 @@
/*
- * linux/arch/arm/lib/csumpartialcopyuser.S
+ * linux/arch/arm/lib/csumpartialcopyuser.S
*
- * Copyright (C) 1995-1998 Russell King
+ * Copyright (C) 1995-1998 Russell King
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
*/
#include <linux/config.h>
#include <linux/linkage.h>
@@ -396,6 +400,12 @@
mov r4, r4, lsr #8
b .exit
+/*
+ * FIXME: minor buglet here
+ * We don't return the checksum for the data present in the buffer. To do
+ * so properly, we would have to add in whatever registers were loaded before
+ * the fault, which, with the current asm above is not predictable.
+ */
#if defined(CONFIG_CPU_32)
.section .fixup,"ax"
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)