Commit 845370f4 authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik

s390/kexec: 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 de556892
...@@ -132,7 +132,8 @@ static bool kdump_csum_valid(struct kimage *image) ...@@ -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
......
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