mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
sh: kprobes: Fix up a preemption imbalance on jprobe return.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
ee386de774
commit
247bc6d2ae
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue