Skip to content

Commit 2cb370d

Browse files
Eugeniu RoscaMartin Schwidefsky
authored andcommitted
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: f19fbd5 ("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>
1 parent 9487cfd commit 2cb370d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/s390/kernel/nospec-branch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#include <linux/module.h>
33
#include <asm/nospec-branch.h>
44

5-
int nospec_call_disable = IS_ENABLED(EXPOLINE_OFF);
6-
int nospec_return_disable = !IS_ENABLED(EXPOLINE_FULL);
5+
int nospec_call_disable = IS_ENABLED(CONFIG_EXPOLINE_OFF);
6+
int nospec_return_disable = !IS_ENABLED(CONFIG_EXPOLINE_FULL);
77

88
static int __init nospectre_v2_setup_early(char *str)
99
{

0 commit comments

Comments
 (0)