summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMatthew Garrett <matthewgarrett@google.com>2019-09-10 03:03:18 -0700
committerJames Morris <jmorris@namei.org>2019-09-10 13:27:51 +0100
commit45893a0abee6b5fd52994a3a1095735aeaec472b (patch)
tree998861c388bbe464fef216992be24946e37c5d00 /arch
parentf8a9bc623a6d178f7ecd40fb7db37eb954b6929c (diff)
downloadlinux-45893a0abee6b5fd52994a3a1095735aeaec472b.tar.bz2
kexec: Fix file verification on S390
I accidentally typoed this #ifdef, so verification would always be disabled. Signed-off-by: Matthew Garrett <mjg59@google.com> Reported-by: Philipp Rudo <prudo@linux.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/kernel/kexec_elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/kexec_elf.c b/arch/s390/kernel/kexec_elf.c
index 9b4f37a4edf1..9da6fa30c447 100644
--- a/arch/s390/kernel/kexec_elf.c
+++ b/arch/s390/kernel/kexec_elf.c
@@ -130,7 +130,7 @@ static int s390_elf_probe(const char *buf, unsigned long len)
const struct kexec_file_ops s390_kexec_elf_ops = {
.probe = s390_elf_probe,
.load = s390_elf_load,
-#ifdef CONFIG_KEXEC__SIG
+#ifdef CONFIG_KEXEC_SIG
.verify_sig = s390_verify_sig,
#endif /* CONFIG_KEXEC_SIG */
};