+ avr32-fix-bug-in-__avr32_asr64.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     AVR32: Fix bug in __avr32_asr64

has been added to the -mm tree.  Its filename is

     avr32-fix-bug-in-__avr32_asr64.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: AVR32: Fix bug in __avr32_asr64
From: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>

libgcc uses a logical shift right instruction in one place we're using an
arithmetic shift right.  I believe libgcc is right.

This fixes some weirdness in the timer code that I've seen lately.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/avr32/lib/__avr32_asr64.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/avr32/lib/__avr32_asr64.S~avr32-fix-bug-in-__avr32_asr64 arch/avr32/lib/__avr32_asr64.S
--- a/arch/avr32/lib/__avr32_asr64.S~avr32-fix-bug-in-__avr32_asr64
+++ a/arch/avr32/lib/__avr32_asr64.S
@@ -20,8 +20,8 @@ __avr32_asr64:
 	brle	1f
 
 	lsl	r8, r11, r9
+	lsr	r10, r10, r12
 	asr	r11, r11, r12
-	asr	r10, r10, r12
 	or	r10, r8
 	retal	r12
 
_

Patches currently in -mm which might be from hskinnemoen@xxxxxxxxx are

avr32-arch.patch
avr32-config_debug_bugverbose-and-config_frame_pointer.patch
avr32-fix-invalid-constraints-for-stcond.patch
avr32-add-support-for-irq-flags-state-tracing.patch
avr32-turn-off-support-for-discontigmem-and-sparsemem.patch
avr32-always-enable-config_embedded.patch
avr32-export-the-find__bit-functions.patch
avr32-add-defconfig-for-at32stk1002.patch
avr32-use-autoconf-instead-of-marker.patch
avr32-dont-assume-anything-about-max_nr_zones.patch
avr32-add-i-o-port-access-primitives.patch
avr32-use-linux-pfnh.patch
avr32-kill-config_discontigmem-support-completely.patch
avr32-fix-bug-in-__avr32_asr64.patch
namespaces-add-nsproxy-avr32-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux