mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	Carsten Emde <cbe@osadl.org>, Carsten Emde <C.Emde@osadl.org>
Subject: [patch-rt 4/5] x86: remove redundant local_irq_enable() in handle_signal()
Date: Fri, 30 Jan 2009 11:43:42 -0000	[thread overview]
Message-ID: <20090130114307.040619764@linutronix.de> (raw)
In-Reply-To: <20090130114230.100052140@linutronix.de>

[-- Attachment #1: irqs-do-not-need-to-be-enabled-explicitly-in-handle-signal.patch --]
[-- Type: text/plain, Size: 830 bytes --]

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.



  parent reply	other threads:[~2009-01-30 11:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-30 11:43 [patch-rt 0/5] more 2.6.26-rt updates Thomas Gleixner
2009-01-30 11:43 ` [patch-rt 1/5] commit 42ef73fe134732b2e91c0326df5fd568da17c4b2 Author: Peter Zijlstra <peterz@infradead.org> Date: Fri Jan 23 17:37:49 2009 +0100 Thomas Gleixner
2009-01-30 11:43 ` [patch-rt 2/5] commit 6626bff24578753808c8b5bd4f1619e14e980f0f Author: Thomas Gleixner <tglx@linutronix.de> Date: Sun Jan 25 11:31:36 " Thomas Gleixner
2009-01-30 11:43 ` [patch-rt 3/5] trace: fix typo in kernel/trace/Kconfig Thomas Gleixner
2009-01-30 11:43 ` Thomas Gleixner [this message]
2009-01-30 11:43 ` [patch-rt 5/5] trace: warn if irqs already enabled in irqs_off latency check Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090130114307.040619764@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=C.Emde@osadl.org \
    --cc=cbe@osadl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome