]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
s390/irq: use call_on_stack() macro
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 5 Jul 2021 18:38:14 +0000 (20:38 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 8 Jul 2021 20:12:18 +0000 (22:12 +0200)
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>
arch/s390/kernel/irq.c

index a1af5ecdabdf7f829f030a1ccfe8a3abde8bdd68..234d085257eb1aa106159a53475f68b9efe22869 100644 (file)
@@ -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)