Commit e11e30a0 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Matthew Wilcox

[PARISC] Use set_irq_regs

Actually set the irq_regs pointer.
Signed-off-by: default avatarMatthew Wilcox <matthew@wil.cx>
parent ada26d41
...@@ -347,12 +347,14 @@ static inline int eirr_to_irq(unsigned long eirr) ...@@ -347,12 +347,14 @@ static inline int eirr_to_irq(unsigned long eirr)
/* ONLY called from entry.S:intr_extint() */ /* ONLY called from entry.S:intr_extint() */
void do_cpu_irq_mask(struct pt_regs *regs) void do_cpu_irq_mask(struct pt_regs *regs)
{ {
struct pt_regs *old_regs;
unsigned long eirr_val; unsigned long eirr_val;
int irq, cpu = smp_processor_id(); int irq, cpu = smp_processor_id();
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
cpumask_t dest; cpumask_t dest;
#endif #endif
old_regs = set_irq_regs(regs);
local_irq_disable(); local_irq_disable();
irq_enter(); irq_enter();
...@@ -379,6 +381,7 @@ void do_cpu_irq_mask(struct pt_regs *regs) ...@@ -379,6 +381,7 @@ void do_cpu_irq_mask(struct pt_regs *regs)
out: out:
irq_exit(); irq_exit();
set_irq_regs(old_regs);
return; return;
set_out: set_out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment