diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-08 05:14:50 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-08 05:14:50 -0400 |
commit | 247bc6d2ae3e2de08529977952c7d085f9d562d4 (patch) | |
tree | 067ed9925262cfaeb13fb853a1d7eea96ffbd5a0 /arch | |
parent | ee386de77419f9fedf206d84c4d4b2de0ead5bcb (diff) |
sh: kprobes: Fix up a preemption imbalance on jprobe return.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/kprobes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/kprobes.c b/arch/sh/kernel/kprobes.c index 75accf9b4209..f0e1c78d0bff 100644 --- a/arch/sh/kernel/kprobes.c +++ b/arch/sh/kernel/kprobes.c | |||
@@ -542,6 +542,7 @@ int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) | |||
542 | MIN_STACK_SIZE(stack_addr)); | 542 | MIN_STACK_SIZE(stack_addr)); |
543 | 543 | ||
544 | kcb->kprobe_status = KPROBE_HIT_SS; | 544 | kcb->kprobe_status = KPROBE_HIT_SS; |
545 | preempt_enable_no_resched(); | ||
545 | return 1; | 546 | return 1; |
546 | } | 547 | } |
547 | return 0; | 548 | return 0; |