From: Haavard Skinnemoen Date: Mon, 6 Nov 2006 13:06:45 +0000 (+0100) Subject: AVR32: Add missing return instruction in __raw_writesb X-Git-Tag: v2.6.19-rc5~8^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6af0f5f83169ef215b4579834ddfb2691e8a7bff;p=linux-2.6 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 --- diff --git a/arch/avr32/lib/io-readsb.S b/arch/avr32/lib/io-readsb.S index b319d5e717..2be5da7ed2 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