commit | 247bc6d2ae3e2de08529977952c7d085f9d562d4 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Mon Sep 08 18:14:50 2008 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Sep 08 18:14:50 2008 +0900 |
tree | 067ed9925262cfaeb13fb853a1d7eea96ffbd5a0 | |
parent | ee386de77419f9fedf206d84c4d4b2de0ead5bcb [diff] [blame] |
sh: kprobes: Fix up a preemption imbalance on jprobe return. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/kernel/kprobes.c b/arch/sh/kernel/kprobes.c index 75accf9..f0e1c78 100644 --- a/arch/sh/kernel/kprobes.c +++ b/arch/sh/kernel/kprobes.c
@@ -542,6 +542,7 @@ MIN_STACK_SIZE(stack_addr)); kcb->kprobe_status = KPROBE_HIT_SS; + preempt_enable_no_resched(); return 1; } return 0;