[AVR32] Add TIF_RESTORE_SIGMASK to the work masks
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 27 Nov 2007 13:10:58 +0000 (14:10 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 7 Dec 2007 13:52:32 +0000 (14:52 +0100)
We really need to check TIF_RESTORE_SIGMASK before returning to
userspace. The existing code does not necessarily do this.

Define the work masks as a bitwise OR of the respective flags instead
of a hardcoded hex value to make it easier to spot errors like this in
the future.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
include/asm-avr32/thread_info.h

Simple merge