aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorPhilipp Rudo <[email protected]>2018-04-13 22:36:28 +0000
committerLinus Torvalds <[email protected]>2018-04-14 00:10:28 +0000
commit930457057abe4e6d57433dea75e97e0e39fd0ab6 (patch)
treed453da1ff18b01034a8120988abdee14813b7064 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentkernel/kexec_file.c: use read-only sections in arch_kexec_apply_relocations* (diff)
downloadkernel-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