]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[S390] fix kprobes single stepping
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 29 Oct 2010 14:50:45 +0000 (16:50 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Fri, 29 Oct 2010 14:50:50 +0000 (16:50 +0200)
commit9ec2708053b647969bee862902872d44a5f9b439
treea7ca43a31a656bac010fac46d11ff0fa23488ef1
parentf2166bb117952404689f0dc42624ee0b54a66e5e
[S390] fix kprobes single stepping

Fix kprobes after git commit 1e54622e0403891b10f2105663e0f9dd595a1f17
broke it. The kprobe_handler is now called with interrupts in the state
at the time of the breakpoint. The single step of the replaced instruction
is done with interrupts off which makes it necessary to enable and disable
the interupts in the kprobes code.

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