]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/kernel/kprobes.c
sh: kprobes: Fix up a preemption imbalance on jprobe return.
[linux-2.6-omap-h63xx.git] / arch / sh / kernel / kprobes.c
index 75accf9b4209b64f7adc6abfafd5e552aaf5df1e..f0e1c78d0bff566a8047657a8e87d402163d7383 100644 (file)
@@ -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;