提交 247bc6d2 编写于 作者: P Paul Mundt

sh: kprobes: Fix up a preemption imbalance on jprobe return.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 ee386de7
......@@ -542,6 +542,7 @@ int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs)
MIN_STACK_SIZE(stack_addr));
kcb->kprobe_status = KPROBE_HIT_SS;
preempt_enable_no_resched();
return 1;
}
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册