summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/io-acorn.S
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-09 20:33:35 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-09 20:33:35 +0000
commit116674acc97ba75a720329996877077d988443a2 (patch)
tree6a3f2ff0b612ae2ee8a3f3509370c9e6333a53b3 /arch/arm/lib/io-acorn.S
parent71118c319fcae4a138f16e35b4f7e0a6d53ce2ca (diff)
Merge with Linux 2.4.2.
Diffstat (limited to 'arch/arm/lib/io-acorn.S')
-rw-r--r--arch/arm/lib/io-acorn.S24
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm/lib/io-acorn.S b/arch/arm/lib/io-acorn.S
index a40272fdb..db19d932e 100644
--- a/arch/arm/lib/io-acorn.S
+++ b/arch/arm/lib/io-acorn.S
@@ -60,32 +60,32 @@ ENTRY(outsl)
*/
ENTRY(insw)
- teq r2, #0
- RETINSTR(moveq, pc, lr)
addr r0
- b __arch_readsw
+ teq r2, #0
+ bne __arch_readsw
+ RETINSTR(mov, pc, lr)
ENTRY(insb)
- teq r2, #0
- RETINSTR(moveq, pc, lr)
addr r0
- b __arch_readsb
+ teq r2, #0
+ bne __arch_readsb
+ RETINSTR(mov, pc, lr)
@ Purpose: write a block of data from memory to a hardware register.
@ Proto : outsw(int to_reg, void *from, int len_in_words);
@ Notes : increments from
ENTRY(outsw)
- teq r2, #0
- RETINSTR(moveq, pc, lr)
addr r0
- b __arch_writesw
+ teq r2, #0
+ bne __arch_writesw
+ RETINSTR(mov, pc, lr)
ENTRY(outsb)
- teq r2, #0
- RETINSTR(moveq, pc, lr)
addr r0
- b __arch_writesb
+ teq r2, #0
+ bne __arch_writesb
+ RETINSTR(mov, pc, lr)
@ Purpose: write a memc register
@ Proto : void memc_write(int register, int value);