s390/irq: use call_on_stack() macro

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
Heiko Carstens 2021-07-05 20:38:14 +02:00 committed by Vasily Gorbik
parent 7c496e66a2
commit de556892dc

View File

@ -115,10 +115,12 @@ static int on_async_stack(void)
static void do_irq_async(struct pt_regs *regs, int irq) static void do_irq_async(struct pt_regs *regs, int irq)
{ {
if (on_async_stack()) if (on_async_stack()) {
do_IRQ(regs, irq); do_IRQ(regs, irq);
else } else {
CALL_ON_STACK(do_IRQ, S390_lowcore.async_stack, 2, regs, irq); 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) static int irq_pending(struct pt_regs *regs)