diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-18 15:59:38 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-03-13 12:39:51 -0500 |
commit | 7669c6d06edc76e970ea29f6da20333c93503847 (patch) | |
tree | f55d69f69c90e4763a25416fa7a19fde91167480 /arch/x86 | |
parent | c2661327683afa720c921ada70fea52affb6d212 (diff) |
x86-32-fix-signal-crap.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/entry_32.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index f3f6f5344001..3e660d2cebb6 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S @@ -626,7 +626,11 @@ work_notifysig: # deal with pending signals and jne work_notifysig_v86 # returning to kernel-space or # vm86-space xorl %edx, %edx + TRACE_IRQS_ON + ENABLE_INTERRUPTS(CLBR_NONE) call do_notify_resume + DISABLE_INTERRUPTS(CLBR_ANY) + TRACE_IRQS_OFF jmp resume_userspace_sig ALIGN @@ -639,7 +643,11 @@ work_notifysig_v86: movl %esp, %eax #endif xorl %edx, %edx + TRACE_IRQS_ON + ENABLE_INTERRUPTS(CLBR_NONE) call do_notify_resume + DISABLE_INTERRUPTS(CLBR_ANY) + TRACE_IRQS_OFF jmp resume_userspace_sig END(work_pending) |