summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-10-07 05:11:07 -0600
committerMatthew Wilcox <willy@parisc-linux.org>2006-10-07 05:11:07 -0600
commite11e30a063b515e95fb590f1558b5fea21273c63 (patch)
tree4f5aff98e2d14dbd3ded2ba20f791db3b2540815 /arch/parisc
parentada26d41e9ee1da31d11957b4452f4227a292e10 (diff)
downloadlinux-e11e30a063b515e95fb590f1558b5fea21273c63.tar.bz2
[PARISC] Use set_irq_regs
Actually set the irq_regs pointer. Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/irq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c
index 2ece7c7939fe..b39c5b9aff46 100644
--- a/arch/parisc/kernel/irq.c
+++ b/arch/parisc/kernel/irq.c
@@ -347,12 +347,14 @@ static inline int eirr_to_irq(unsigned long eirr)
/* ONLY called from entry.S:intr_extint() */
void do_cpu_irq_mask(struct pt_regs *regs)
{
+ struct pt_regs *old_regs;
unsigned long eirr_val;
int irq, cpu = smp_processor_id();
#ifdef CONFIG_SMP
cpumask_t dest;
#endif
+ old_regs = set_irq_regs(regs);
local_irq_disable();
irq_enter();
@@ -379,6 +381,7 @@ void do_cpu_irq_mask(struct pt_regs *regs)
out:
irq_exit();
+ set_irq_regs(old_regs);
return;
set_out: