ARM: Ensure predictable endian state on signal handler entry
commit6261151057a6704f08dbafdc3d3ca07e3cff569c
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 20 Feb 2011 12:22:52 +0000 (20 12:22 +0000)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:53:07 +0000 (30 16:53 +0200)
tree0e4d5c7936798fc2daf12c29010bffc6e18896b6
parentb341209718cb0c95d23baa65bde68a313208ee36
ARM: Ensure predictable endian state on signal handler entry

commit 53399053eb505cf541b2405bd9d9bca5ecfb96fb upstream.

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.

Acked-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/kernel/signal.c