lkml.org 
[lkml]   [2009]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch-rt 4/5] x86: remove redundant local_irq_enable() in handle_signal()
IRQs are already enabled when handle_signal() is called.

Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
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.



\
 
 \ /
  Last update: 2009-01-30 12:47    [W:0.049 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site