patch-2.4.11-dontuse linux/arch/cris/lib/csumcpfruser.S

Next file: linux/arch/cris/lib/dram_init.S
Previous file: linux/arch/cris/lib/checksumcopy.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.10/linux/arch/cris/lib/csumcpfruser.S linux/arch/cris/lib/csumcpfruser.S
@@ -21,7 +21,7 @@
    It is conveniently located on the stack, so the normal function body
    does not have to handle it.  */
 
-#define _csum_partial_copy_nocheck _csum_partial_copy_from_user
+#define csum_partial_copy_nocheck csum_partial_copy_from_user
 
 /* There are local labels numbered 1, 2 and 3 present to mark the
    different from-user accesses.  */
@@ -31,30 +31,30 @@
 
 ;; Here from the movem loop; restore stack.
 4:
-	movem	[sp+],r8
+	movem	[$sp+],$r8
 ;; r12 is already decremented.  Add back chunk_size-2.
-	addq	40-2,r12
+	addq	40-2,$r12
 
 ;; Here from the word loop; r12 is off by 2; add it back.
 5:
-	addq	2,r12
+	addq	2,$r12
 
 ;; Here from a failing single byte.
 6:
 
 ;; Signal in *errptr that we had a failing access.
-	moveq	-EFAULT,r9
-	move.d	r9,[[sp]]
+	moveq	-EFAULT,$r9
+	move.d	$r9,[[$sp]]
 
 ;; Clear the rest of the destination area using memset.  Preserve the
 ;; checksum for the readable bytes.
-	push	srp
-	push	r13
-	move.d	r11,r10
-	clear.d	r11
-	jsr	_memset
-	pop	r10
-	jump	[sp+]
+	push	$srp
+	push	$r13
+	move.d	$r11,$r10
+	clear.d	$r11
+	jsr	memset
+	pop	$r10
+	jump	[$sp+]
 
 	.previous
 	.section __ex_table,"a"

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)