]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
m68k: fix sigset_t accessor functions
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 17 Nov 2012 21:27:04 +0000 (22:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 20:14:18 +0000 (12:14 -0800)
commit6ee34a305634346a23fce16352019d45097dc425
treeaed07d88e0c6eecc5b4d6fb9f072b5b7cb79eccc
parent9437e9d67094de0a69de1585b28932d6ac2b1911
m68k: fix sigset_t accessor functions

commit 34fa78b59c52d1db3513db4c1a999db26b2e9ac2 upstream.

The sigaddset/sigdelset/sigismember functions that are implemented with
bitfield insn cannot allow the sigset argument to be placed in a data
register since the sigset is wider than 32 bits.  Remove the "d"
constraint from the asm statements.

The effect of the bug is that sending RT signals does not work, the signal
number is truncated modulo 32.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/m68k/include/asm/signal.h