diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-01-05 06:47:17 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 06:47:23 -0500 |
commit | fc0a1fea6b81095b6c0e01ec3407d04c8341974c (patch) | |
tree | da864df5bdb576401afb9531f171ee31d268ddbb /arch/s390/include | |
parent | 35f2aaa79a2d484c8449f34461464a1e84e36e2b (diff) |
[S390] kprobes: single step cleanup
The saved interrupt mask and the saved control registers are only
relevant while single stepping is set up. A secondary kprobe while
kprobe single stepping is active may not occur. That makes is safe
to remove the save and restore of kprobe_saved_imask / kprobe_save_ctl
from save_previous_kprobe and restore_previous_kprobe.
Move all single step related code to two functions, enable_singlestep
and disable_singlestep.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/kprobes.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/s390/include/asm/kprobes.h b/arch/s390/include/asm/kprobes.h index 330f68caffe4..15d0dec8dbb4 100644 --- a/arch/s390/include/asm/kprobes.h +++ b/arch/s390/include/asm/kprobes.h | |||
@@ -72,9 +72,6 @@ struct ins_replace_args { | |||
72 | struct prev_kprobe { | 72 | struct prev_kprobe { |
73 | struct kprobe *kp; | 73 | struct kprobe *kp; |
74 | unsigned long status; | 74 | unsigned long status; |
75 | unsigned long saved_psw; | ||
76 | unsigned long kprobe_saved_imask; | ||
77 | unsigned long kprobe_saved_ctl[3]; | ||
78 | }; | 75 | }; |
79 | 76 | ||
80 | /* per-cpu kprobe control block */ | 77 | /* per-cpu kprobe control block */ |