[PATCH] alpha pt_regs cleanups: device_interrupt
callers of ->device_interrupt() do set_irq_regs() now; pt_regs argument removed, remaining uses of regs in instances of ->device_interrupt() are switched to get_irq_regs() and will be gone in the next patch. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -83,7 +83,7 @@ static struct hw_interrupt_type rx164_irq_type = {
|
||||
};
|
||||
|
||||
static void
|
||||
rx164_device_interrupt(unsigned long vector, struct pt_regs *regs)
|
||||
rx164_device_interrupt(unsigned long vector)
|
||||
{
|
||||
unsigned long pld;
|
||||
volatile unsigned int *dirr;
|
||||
@@ -102,9 +102,9 @@ rx164_device_interrupt(unsigned long vector, struct pt_regs *regs)
|
||||
i = ffz(~pld);
|
||||
pld &= pld - 1; /* clear least bit set */
|
||||
if (i == 20) {
|
||||
isa_no_iack_sc_device_interrupt(vector, regs);
|
||||
isa_no_iack_sc_device_interrupt(vector, get_irq_regs());
|
||||
} else {
|
||||
handle_irq(16+i, regs);
|
||||
handle_irq(16+i, get_irq_regs());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user