ARM: Ensure predictable endian state on signal handler entry
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 20 Feb 2011 12:22:52 +0000 (12:22 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 21 Feb 2011 19:29:26 +0000 (19:29 +0000)
commit53399053eb505cf541b2405bd9d9bca5ecfb96fb
tree05b7fff7b081592087df18449dd6dd72537e522d
parentdc810efb0ca5702c9d96782b99282d4b4383e877
ARM: Ensure predictable endian state on signal handler entry

Ensure a predictable endian state when entering signal handlers.  This
avoids programs which use SETEND to momentarily switch their endian
state from having their signal handlers entered with an unpredictable
endian state.

Cc: <stable@kernel.org>
Acked-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/signal.c