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)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 27 Sep 2013 10:58:23 +0000 (16:28 +0530)
commitc11eb222fd7d4db91196121dbf854178505d2751
treec5f58279b31fb1828d20ddc42adc0fa584bbfc12
parent4a10c2ac2f368583138b774ca41fac4207911983
ARC: Handle zero-overhead-loop in unaligned access handler

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>
arch/arc/kernel/unaligned.c