Skip to content

Commit

Permalink
[PARISC] Use set_irq_regs
Browse files Browse the repository at this point in the history
Actually set the irq_regs pointer.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
  • Loading branch information
Matthew Wilcox authored and Matthew Wilcox committed Oct 7, 2006
1 parent ada26d4 commit e11e30a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/parisc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -379,6 +381,7 @@ void do_cpu_irq_mask(struct pt_regs *regs)

out:
irq_exit();
set_irq_regs(old_regs);
return;

set_out:
Expand Down

0 comments on commit e11e30a

Please sign in to comment.