Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 247bc6d2 authored by Paul Mundt's avatar Paul Mundt
Browse files

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



Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent ee386de7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;