Merge branches 'softirq-for-linus', 'x86-debug-for-linus', 'x86-numa-for-linus',...
[~shefty/rdma-dev.git] / arch / x86 / kernel / traps.c
index d43968503dd22fc67a35570fcf0b92b337637c09..cb838ca42c9664c2ecf9530d170d27cdbc679f7a 100644 (file)
@@ -575,6 +575,7 @@ dotraplinkage void __kprobes do_debug(struct pt_regs *regs, long error_code)
        if (regs->flags & X86_VM_MASK) {
                handle_vm86_trap((struct kernel_vm86_regs *) regs,
                                error_code, 1);
+               preempt_conditional_cli(regs);
                return;
        }