From: Haavard Skinnemoen Date: Mon, 9 Jun 2008 12:16:06 +0000 (+0200) Subject: avr32: Fix wrong I/O access size in __raw_readsb X-Git-Tag: v2.6.27-rc1~1108^2~26 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1f24ac99f3711a6caa0e1d1c01a071ed72a7e0b;p=linux-2.6 avr32: Fix wrong I/O access size in __raw_readsb __raw_readsb() should always use byte accesses, never halfword accesses, to I/O memory. Signed-off-by: Haavard Skinnemoen --- diff --git a/arch/avr32/lib/io-readsb.S b/arch/avr32/lib/io-readsb.S index 2be5da7ed2..cb2d869455 100644 --- a/arch/avr32/lib/io-readsb.S +++ b/arch/avr32/lib/io-readsb.S @@ -41,7 +41,7 @@ __raw_readsb: 2: sub r10, -4 reteq r12 -3: ld.uh r8, r12[0] +3: ld.ub r8, r12[0] sub r10, 1 st.b r11++, r8 brne 3b