Clear the IT state when invoking a Thumb-2 signal handler
authorCatalin Marinas <catalin.marinas@arm.com>
Sat, 30 May 2009 13:00:15 +0000 (14:00 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Sat, 30 May 2009 13:00:15 +0000 (14:00 +0100)
commitd71e1352e240dea32d481ad8d662e8de4406ac7e
tree823bd3c503988520319b4658d1f2a8b8b4cb1328
parentba3c02636a0743a62cb50b920d36e1c046ab88cf
Clear the IT state when invoking a Thumb-2 signal handler

If a process is interrupted during an If-Then block and a signal is
invoked, the ITSTATE bits must be cleared otherwise the handler would
not run correctly.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Joseph S. Myers <joseph@codesourcery.com>
arch/arm/include/asm/ptrace.h
arch/arm/kernel/signal.c