mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 09:31:50 +00:00
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:
parent
de556892dc
commit
845370f47f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user