patch-2.2.19 linux/arch/s390/lib/strncpy.S
Next file: linux/arch/s390/mm/init.c
Previous file: linux/arch/s390/lib/strcmp.S
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sun Mar 25 11:37:30 2001
- Orig file:
v2.2.18/arch/s390/lib/strncpy.S
- Orig date:
Sun Mar 25 11:13:32 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/arch/s390/lib/strncpy.S linux/arch/s390/lib/strncpy.S
@@ -20,9 +20,9 @@
SR 0,0
strncpy_loop:
ICM 0,1,0(3) # ICM sets the cc, IC does not
- LA 3,1(0,3)
- STC 0,0(0,1)
- LA 1,1(0,1)
+ LA 3,1(3)
+ STC 0,0(1)
+ LA 1,1(1)
JZ strncpy_exit # ICM inserted a 0x00
BRCT 4,strncpy_loop # R4 -= 1, jump to strncpy_loop if > 0
strncpy_exit:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)