kexec_file: make kexec_image_post_load_cleanup_default() global
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Thu, 15 Nov 2018 05:52:41 +0000 (14:52 +0900)
committerWill Deacon <will.deacon@arm.com>
Thu, 6 Dec 2018 14:38:49 +0000 (14:38 +0000)
commit92a98a2b9f64a8b3c200a7709ceae04d09c39451
treef246eca2b042e362d267ec28beb229397ebe631f
parent4e21565b7fd4d9045765f697887e74a704135fe2
kexec_file: make kexec_image_post_load_cleanup_default() global

Change this function from static to global so that arm64 can implement
its own arch_kimage_file_post_load_cleanup() later using
kexec_image_post_load_cleanup_default().

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Acked-by: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Baoquan He <bhe@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
include/linux/kexec.h
kernel/kexec_file.c