]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[S390] fix syscall restart handling.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 20 Sep 2006 13:58:54 +0000 (15:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 20 Sep 2006 13:58:54 +0000 (15:58 +0200)
commit8427082a506f7ae0abf82ce0047a045ec4309e59
treeddd756abcf3fe2241ce4a8d322a11e0404fb345f
parent39b083fe1c3c7b88939f6fa1b0b96e579f12e96f
[S390] fix syscall restart handling.

If do_signal() gets called several times before returning to user space
and no signal is pending (e.g. cancelled by a debugger) syscall restart
handling could be done several times. This would change the user space
PSW to an address prior to the syscall instruction.
Fix this by making sure that syscall restart handling is only done once.

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