s390/kexec_file: Simplify parmarea access
Access the parmarea in head.S via a struct instead of individual offsets. While at it make the fields in the parmarea .quads. Signed-off-by: Philipp Rudo <prudo@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:

committed by
Martin Schwidefsky

parent
4c0f032d49
commit
d0d249d75d
@@ -32,6 +32,7 @@ static int kexec_file_add_image_kernel(struct kimage *image,
|
||||
ret = kexec_add_buffer(&buf);
|
||||
|
||||
data->kernel_buf = kernel;
|
||||
data->parm = (void *)kernel + PARMAREA;
|
||||
data->memsz += buf.memsz + STARTUP_NORMAL_OFFSET;
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user