Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39130
b: refs/heads/master
c: 2f116cb
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 8, 2006
1 parent 0936a55 commit 494551d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4fa1970a23bf8fc68e86b65a87c32556e20a6be6
refs/heads/master: 2f116cbf369ec3148cef9821f6c7f2b8fb78a071
4 changes: 2 additions & 2 deletions trunk/arch/alpha/kernel/err_titan.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ titan_machine_check(u64 vector, u64 la_ptr)
* machine checks to interrupts
*/
irqmask = tmchk->c_dirx & TITAN_MCHECK_INTERRUPT_MASK;
titan_dispatch_irqs(irqmask, get_irq_regs());
titan_dispatch_irqs(irqmask);
}


Expand Down Expand Up @@ -746,7 +746,7 @@ privateer_machine_check(u64 vector, u64 la_ptr)
/*
* Dispatch the interrupt(s).
*/
titan_dispatch_irqs(irqmask, get_irq_regs());
titan_dispatch_irqs(irqmask);

/*
* Release the logout frame.
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/alpha/kernel/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ extern void dik_show_regs(struct pt_regs *regs, unsigned long *r9_15);
extern void die_if_kernel(char *, struct pt_regs *, long, unsigned long *);

/* sys_titan.c */
extern void titan_dispatch_irqs(u64, struct pt_regs *);
extern void titan_dispatch_irqs(u64);

/* ../mm/init.c */
extern void switch_to_system_map(void);
Expand Down
5 changes: 1 addition & 4 deletions trunk/arch/alpha/kernel/sys_titan.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,17 +243,15 @@ titan_legacy_init_irq(void)
}

void
titan_dispatch_irqs(u64 mask, struct pt_regs *regs)
titan_dispatch_irqs(u64 mask)
{
struct pt_regs *old_regs;
unsigned long vector;

/*
* Mask down to those interrupts which are enable on this processor
*/
mask &= titan_cpu_irq_affinity[smp_processor_id()];

old_regs = set_irq_regs(regs);
/*
* Dispatch all requested interrupts
*/
Expand All @@ -267,7 +265,6 @@ titan_dispatch_irqs(u64 mask, struct pt_regs *regs)
/* dispatch it */
alpha_mv.device_interrupt(vector);
}
set_irq_regs(old_regs);
}


Expand Down

0 comments on commit 494551d

Please sign in to comment.