]> git.karo-electronics.de Git - linux-beck.git/blobdiff - kernel/kexec_file.c
Merge tag 'armsoc-tegra' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[linux-beck.git] / kernel / kexec_file.c
index b70ada0028d251d7171f13b0de7e9e47e1e6086c..007b791f676d5605fb674b6db333d9dd1d0a23b4 100644 (file)
@@ -109,11 +109,13 @@ int __weak arch_kimage_file_post_load_cleanup(struct kimage *image)
        return -EINVAL;
 }
 
+#ifdef CONFIG_KEXEC_VERIFY_SIG
 int __weak arch_kexec_kernel_verify_sig(struct kimage *image, void *buf,
                                        unsigned long buf_len)
 {
        return -EKEYREJECTED;
 }
+#endif
 
 /* Apply relocations of type RELA */
 int __weak