[PATCH] m68k pt_regs fixes
m68k_handle_int() split in two functions: __m68k_handle_int() takes pt_regs * and does set_irq_regs(); m68k_handle_int() doesn't get pt_regs *. Places where we used to call m68k_handle_int() recursively with the same pt_regs have simply lost the second argument, the rest is switched to __m68k_handle_int(). The rest of patch is just dropping pt_regs * where needed. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -219,7 +219,7 @@ static irqreturn_t mfc3_interrupt(int irq, void *dev_id)
|
||||
if (this_port[i] != NULL)
|
||||
if (pia(this_port[i])->crb & 128) { /* Board caused interrupt */
|
||||
dummy = pia(this_port[i])->pprb; /* clear irq bit */
|
||||
parport_generic_irq(irq, this_port[i], regs);
|
||||
parport_generic_irq(irq, this_port[i]);
|
||||
}
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
Reference in New Issue
Block a user