]> git.baikalelectronics.ru Git - kernel.git/commitdiff
s390/kexec: use call_on_stack() macro
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 5 Jul 2021 18:38:26 +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/machine_kexec.c

index d91989c7bd6a060558fee1fc84552383e81fbac1..1005a6935fbe34b123bd2b2e714ec9fb85559689 100644 (file)
@@ -132,7 +132,8 @@ static bool kdump_csum_valid(struct kimage *image)
        int rc;
 
        preempt_disable();
-       rc = CALL_ON_STACK(do_start_kdump, S390_lowcore.nodat_stack, 1, image);
+       rc = call_on_stack(1, S390_lowcore.nodat_stack, unsigned long, do_start_kdump,
+                          unsigned long, (unsigned long)image);
        preempt_enable();
        return rc == 0;
 #else