Skip to content
Commit 0d69a052 authored by Gui,Jian's avatar Gui,Jian Committed by Paul Mackerras
Browse files

[POWERPC] Disallow kprobes on emulate_step and branch_taken



On powerpc, probing on emulate_step function will crash 2.6.18.1 when
it is triggered.

When kprobe is triggered, emulate_step() is on its kernel path and
will cause recursive kprobe fault.  And branch_taken() is called
in emulate_step().  This disallows kprobes on both of them.

Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 292f86f0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment