]> Git Repo - linux.git/commit
kexec_file,x86,powerpc: factor out kexec_file_ops functions
authorAKASHI Takahiro <[email protected]>
Fri, 13 Apr 2018 22:35:49 +0000 (15:35 -0700)
committerLinus Torvalds <[email protected]>
Sat, 14 Apr 2018 00:10:27 +0000 (17:10 -0700)
commit9ec4ecef0af7790551109283ca039a7c52de343c
tree449f1e0764c03e53bd22c97a911695a118905d62
parentb799a09f639beeda105fe8a9ab440d80fdabd3b3
kexec_file,x86,powerpc: factor out kexec_file_ops functions

As arch_kexec_kernel_image_{probe,load}(),
arch_kimage_file_post_load_cleanup() and arch_kexec_kernel_verify_sig()
are almost duplicated among architectures, they can be commonalized with
an architecture-defined kexec_file_ops array.  So let's factor them out.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: AKASHI Takahiro <[email protected]>
Acked-by: Dave Young <[email protected]>
Tested-by: Dave Young <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Baoquan He <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Thiago Jung Bauermann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/powerpc/include/asm/kexec.h
arch/powerpc/kernel/kexec_elf_64.c
arch/powerpc/kernel/machine_kexec_file_64.c
arch/x86/include/asm/kexec-bzimage64.h
arch/x86/kernel/kexec-bzimage64.c
arch/x86/kernel/machine_kexec_64.c
include/linux/kexec.h
kernel/kexec_file.c
This page took 0.060481 seconds and 4 git commands to generate.