s390/kexec: 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:26 +02:00 committed by Vasily Gorbik
parent de556892dc
commit 845370f47f

View File

@ -132,7 +132,8 @@ static bool kdump_csum_valid(struct kimage *image)
int rc; int rc;
preempt_disable(); 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(); preempt_enable();
return rc == 0; return rc == 0;
#else #else