]> git.baikalelectronics.ru Git - kernel.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>
Mon, 16 Dec 2013 13:37:44 +0000 (14:37 +0100)
commit9f1e92fe897603be28657c6b6b629d455c8851c7
tree8e7b6ef1e8fd3a4d57254191a1f6e43cb7f59953
parentaf90be222be01365c9311fc848d19d914c26f41e
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