x86: fix kprobe_handler reenable preemption
commitddc66df876fd33d3956f3c3acc1ae334b16eedee
authorMasami Hiramatsu <mhiramat@redhat.com>
Wed, 30 Jan 2008 12:32:01 +0000 (30 13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:01 +0000 (30 13:32 +0100)
treedec203db1d6e84669bd934bf64127501720f8e20
parentbde6f5f59c2b2b48a7a849c129d5b48838fe77ee
x86: fix kprobe_handler reenable preemption

Fix a preemption bug in kprobe_handler(). It has to call preempt_enable()
before returning.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/kprobes.c