summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEugeniu Rosca <erosca@de.adit-jv.com>2018-02-18 02:10:29 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-02-19 10:00:06 +0300
commit2cb370d615e9fbed9e95ed222c2c8f337181aa90 (patch)
treee84f05fbfdeede6c44c9e9d604fd662bae403870 /arch
parent9487cfd3430d07366801886bdf185799a2b6f066 (diff)
downloadlinux-2cb370d615e9fbed9e95ed222c2c8f337181aa90.tar.xz
s390: Replace IS_ENABLED(EXPOLINE_*) with IS_ENABLED(CONFIG_EXPOLINE_*)
I've accidentally stumbled upon the IS_ENABLED(EXPOLINE_*) lines, which obviously always evaluate to false. Fix this. Fixes: f19fbd5ed642 ("s390: introduce execute-trampolines for branches") Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/kernel/nospec-branch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/nospec-branch.c b/arch/s390/kernel/nospec-branch.c
index 69d7fcf48158..9aff72d3abda 100644
--- a/arch/s390/kernel/nospec-branch.c
+++ b/arch/s390/kernel/nospec-branch.c
@@ -2,8 +2,8 @@
#include <linux/module.h>
#include <asm/nospec-branch.h>
-int nospec_call_disable = IS_ENABLED(EXPOLINE_OFF);
-int nospec_return_disable = !IS_ENABLED(EXPOLINE_FULL);
+int nospec_call_disable = IS_ENABLED(CONFIG_EXPOLINE_OFF);
+int nospec_return_disable = !IS_ENABLED(CONFIG_EXPOLINE_FULL);
static int __init nospectre_v2_setup_early(char *str)
{