diff options
| author | Philipp Rudo <[email protected]> | 2018-04-13 22:36:28 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-04-14 00:10:28 +0000 |
| commit | 930457057abe4e6d57433dea75e97e0e39fd0ab6 (patch) | |
| tree | d453da1ff18b01034a8120988abdee14813b7064 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | kernel/kexec_file.c: use read-only sections in arch_kexec_apply_relocations* (diff) | |
| download | kernel-930457057abe4e6d57433dea75e97e0e39fd0ab6.tar.gz kernel-930457057abe4e6d57433dea75e97e0e39fd0ab6.zip | |
kernel/kexec_file.c: split up __kexec_load_puragory
When inspecting __kexec_load_purgatory you find that it has two tasks
1) setting up the kexec_buffer for the new kernel and,
2) setting up pi->sechdrs for the final load address.
The two tasks are independent of each other. To improve readability
split up __kexec_load_purgatory into two functions, one for each task,
and call them directly from kexec_load_purgatory.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Philipp Rudo <[email protected]>
Acked-by: Dave Young <[email protected]>
Cc: AKASHI Takahiro <[email protected]>
Cc: Eric Biederman <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Thiago Jung Bauermann <[email protected]>
Cc: Vivek Goyal <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
