]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: 7880/1: Clear the IT state independent of the Thumb-2 mode
authorT.J. Purtell <tj@mobisocial.us>
Wed, 6 Nov 2013 17:38:05 +0000 (18:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Nov 2013 00:19:06 +0000 (00:19 +0000)
commit6ecf830e5029598732e04067e325d946097519cb
treeb174b452cca9b7c9aa44a79cfa963b7c03539628
parente16b31bf47738f4498d7ce632e12d7d2a6a2492a
ARM: 7880/1: Clear the IT state independent of the Thumb-2 mode

The ARM architecture reference specifies that the IT state bits in the
PSR must be all zeros in ARM mode or behavior is unspecified.  On the
Qualcomm Snapdragon S4/Krait architecture CPUs the processor continues
to consider the IT state bits while in ARM mode.  This makes it so
that some instructions are skipped by the CPU.

Signed-off-by: T.J. Purtell <tj@mobisocial.us>
[rmk+kernel@arm.linux.org.uk: fixed whitespace formatting in patch]
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/signal.c