summaryrefslogtreecommitdiffstats
path: root/arch/avr32/lib
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-11-06 14:06:45 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2006-11-06 14:07:16 +0100
commit6af0f5f83169ef215b4579834ddfb2691e8a7bff (patch)
treee88a8a009638cec29bf42fe881516cfe1936f26a /arch/avr32/lib
parentbbfd2bf9028a55cb85ff51eb34dc663b7e49ed55 (diff)
downloadkernel-crypto-6af0f5f83169ef215b4579834ddfb2691e8a7bff.tar.gz
kernel-crypto-6af0f5f83169ef215b4579834ddfb2691e8a7bff.tar.xz
kernel-crypto-6af0f5f83169ef215b4579834ddfb2691e8a7bff.zip
AVR32: Add missing return instruction in __raw_writesb
__raw_writesb ends with a conditional branch, which is obviously wrong. It should return after the last loop terminates. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/lib')
-rw-r--r--arch/avr32/lib/io-readsb.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/avr32/lib/io-readsb.S b/arch/avr32/lib/io-readsb.S
index b319d5e7174..2be5da7ed26 100644
--- a/arch/avr32/lib/io-readsb.S
+++ b/arch/avr32/lib/io-readsb.S
@@ -45,3 +45,5 @@ __raw_readsb:
sub r10, 1
st.b r11++, r8
brne 3b
+
+ retal r12