]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARC: Handle zero-overhead-loop in unaligned access handler
authorMischa Jonker <mjonker@synopsys.com>
Thu, 26 Sep 2013 13:44:56 +0000 (15:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Oct 2013 14:45:45 +0000 (07:45 -0700)
commit5cd12e7776183668bd92a5f5fe102113d3bb599a
tree10fbc5aaa32e28dd60f2c98fac84c5f561406ace
parent8036c31c84117707d4132cd199d997d7ed41427c
ARC: Handle zero-overhead-loop in unaligned access handler

commit c11eb222fd7d4db91196121dbf854178505d2751 upstream.

If a load or store is the last instruction in a zero-overhead-loop, and
it's misaligned, the loop would execute only once.

This fixes that problem.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arc/kernel/unaligned.c