]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[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)
commit702f22b306c8357b3ef5012b5a8ce062e1d11b4e
tree48e488428753698ba003e9ff95f5bf835dbe473e
parentf194d132e4971111f85c18c96067acffb13cee6d
[AVR32] Add TIF_RESTORE_SIGMASK to the work masks

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