Commit de556892 authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik

s390/irq: use call_on_stack() macro

Reviewed-by: default avatarSven Schnelle <svens@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 7c496e66
......@@ -115,10 +115,12 @@ static int on_async_stack(void)
static void do_irq_async(struct pt_regs *regs, int irq)
{
if (on_async_stack())
if (on_async_stack()) {
do_IRQ(regs, irq);
else
CALL_ON_STACK(do_IRQ, S390_lowcore.async_stack, 2, regs, irq);
} else {
call_on_stack(2, S390_lowcore.async_stack, void, do_IRQ,
struct pt_regs *, regs, int, irq);
}
}
static int irq_pending(struct pt_regs *regs)
......
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