[S390] duplicate SIGTRAP on signal delivery.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 13 Jan 2010 19:44:27 +0000 (20:44 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 13 Jan 2010 19:44:44 +0000 (20:44 +0100)
commit6f50248ef0efa7453397eb53e41e8aa5df534492
treec04084989d30918bb9515bebcc9496689e90b4e0
parentf8d5faf718c9ff2c04eb8484585d4963c4111cd7
[S390] duplicate SIGTRAP on signal delivery.

The code in do_signal sets the TIF_SINGLE_STEP bit and calls
tracehook_signal_handler after the signal frame has been set up.
This causes two SIGTRAP signals to be delivered to the tracer.
Stop setting the TIF_SINGLE_STEP bit in do_signal to get the
correct number of SIGTRAPs.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/signal.c