[patch-rt 4/5] x86: remove redundant local_irq_enable() inhandle_signal()

From: Thomas Gleixner
Date: Fri Jan 30 2009 - 06:45:03 EST


IRQs are already enabled when handle_signal() is called.

Signed-off-by: Carsten Emde <C.Emde@xxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

---
arch/x86/kernel/signal_32.c | 7 -------
1 file changed, 7 deletions(-)

Index: linux-2.6.26.8/arch/x86/kernel/signal_32.c
===================================================================
--- linux-2.6.26.8.orig/arch/x86/kernel/signal_32.c
+++ linux-2.6.26.8/arch/x86/kernel/signal_32.c
@@ -529,13 +529,6 @@ handle_signal(unsigned long sig, siginfo
}
}

-#ifdef CONFIG_PREEMPT_RT
- /*
- * Fully-preemptible kernel does not need interrupts disabled:
- */
- local_irq_enable();
- preempt_check_resched();
-#endif
/*
* If TF is set due to a debugger (TIF_FORCED_TF), clear the TF
* flag so that register information in the sigcontext is correct.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/