]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/ptrace: simplify enable/disable single step
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 3 Dec 2013 10:09:10 +0000 (11:09 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 12 Dec 2013 10:00:13 +0000 (11:00 +0100)
commit28f96c3ddf747f3945709067128237c9ee5ee706
treef906d59b9e728a3e2dd6db508276bcc14b718a9f
parent8a2ffcf3de26f28fb66d8aac78336eb13fbf9a21
s390/ptrace: simplify enable/disable single step

The user_enable_single_step() and user_disable_sindle_step() functions
are always called on the inferior, never for the currently active
process. Remove the unnecessary check for the current process and
the update_cr_regs() call from the enable/disable functions.

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