[ARM] 2941/1: Fix running legacy binaries from a soft-float root filesystem with...
authorDaniel Jacobowitz <drow@false.org>
Thu, 29 Sep 2005 23:17:35 +0000 (00:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Sep 2005 23:17:35 +0000 (00:17 +0100)
commitdce79affd5d04e9cbabe35016eda55213b9b36f6
treefd9516ac2ac1900d733c984fde73764994b86eb0
parentfc611a1a50caa04bae82ed3c1fc6505132f8343f
[ARM] 2941/1: Fix running legacy binaries from a soft-float root filesystem with CONFIG_IWMMXT.

Patch from Daniel Jacobowitz

Thread flags are inherited on fork().  In order for a binary which has
the iWMMXt coprocessor enabled to run a binary which needs the FPA
emulation, we need to explicitly clear TIF_USING_IWMMXT if we are not
going to set it.

Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/elf.h