Skip to content

Commit

Permalink
s390: Replace IS_ENABLED(EXPOLINE_*) with IS_ENABLED(CONFIG_EXPOLINE_*)
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
  • Loading branch information
Eugeniu Rosca authored and Martin Schwidefsky committed Feb 19, 2018
1 parent 9487cfd commit 2cb370d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/s390/kernel/nospec-branch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2cb370d

Please sign in to comment.