projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbfd2bf
)
AVR32: Add missing return instruction in __raw_writesb
author
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Mon, 6 Nov 2006 13:06:45 +0000
(14:06 +0100)
committer
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Mon, 6 Nov 2006 13:07:16 +0000
(14:07 +0100)
__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>
arch/avr32/lib/io-readsb.S
patch
|
blob
|
history
diff --git
a/arch/avr32/lib/io-readsb.S
b/arch/avr32/lib/io-readsb.S
index b319d5e71749cf418f193e340bc24270c9fb9fff..2be5da7ed26b7f0b42269f073dfcdb5f15ba788a 100644
(file)
--- 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