public inbox for linux-parisc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] parisc: call set_irq_regs() after disabling local irqs
@ 2013-10-09 21:54 Helge Deller
  2013-10-10  2:17 ` James Bottomley
  0 siblings, 1 reply; 5+ messages in thread
From: Helge Deller @ 2013-10-09 21:54 UTC (permalink / raw)
  To: linux-parisc, James Bottomley

Signed-off-by: Helge Deller <deller@gmx.de>

diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c
index 2e6443b..c439c05 100644
--- a/arch/parisc/kernel/irq.c
+++ b/arch/parisc/kernel/irq.c
@@ -529,8 +529,8 @@ void do_cpu_irq_mask(struct pt_regs *regs)
 	cpumask_t dest;
 #endif
 
-	old_regs = set_irq_regs(regs);
 	local_irq_disable();
+	old_regs = set_irq_regs(regs);
 	irq_enter();
 
 	eirr_val = mfctl(23) & cpu_eiem & per_cpu(local_ack_eiem, cpu);

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-11 11:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-09 21:54 [PATCH] parisc: call set_irq_regs() after disabling local irqs Helge Deller
2013-10-10  2:17 ` James Bottomley
2013-10-10  8:32   ` Helge Deller
2013-10-10 15:05     ` John David Anglin
2013-10-11 11:54     ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox