summaryrefslogtreecommitdiffstats
path: root/include/linux/kexec.h
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2018-11-15 14:52:41 +0900
committerWill Deacon <will.deacon@arm.com>2018-12-06 14:38:49 +0000
commit92a98a2b9f64a8b3c200a7709ceae04d09c39451 (patch)
treef246eca2b042e362d267ec28beb229397ebe631f /include/linux/kexec.h
parent4e21565b7fd4d9045765f697887e74a704135fe2 (diff)
downloadlinux-stable-92a98a2b9f64a8b3c200a7709ceae04d09c39451.tar.gz
linux-stable-92a98a2b9f64a8b3c200a7709ceae04d09c39451.tar.bz2
linux-stable-92a98a2b9f64a8b3c200a7709ceae04d09c39451.zip
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>
Diffstat (limited to 'include/linux/kexec.h')
-rw-r--r--include/linux/kexec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kexec.h b/include/linux/kexec.h
index 9e4e638fb505..49ab758f4d91 100644
--- a/include/linux/kexec.h
+++ b/include/linux/kexec.h
@@ -143,6 +143,7 @@ extern const struct kexec_file_ops * const kexec_file_loaders[];
int kexec_image_probe_default(struct kimage *image, void *buf,
unsigned long buf_len);
+int kexec_image_post_load_cleanup_default(struct kimage *image);
/**
* struct kexec_buf - parameters for finding a place for a buffer in memory