mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
s390: Replace IS_ENABLED(EXPOLINE_*) with IS_ENABLED(CONFIG_EXPOLINE_*)
[ Upstream commit 2cb370d615e9fbed9e95ed222c2c8f337181aa90 ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1d966a6ade
commit
6288e169a2
@ -3,8 +3,8 @@
|
|||||||
#include <asm/facility.h>
|
#include <asm/facility.h>
|
||||||
#include <asm/nospec-branch.h>
|
#include <asm/nospec-branch.h>
|
||||||
|
|
||||||
int nospec_call_disable = IS_ENABLED(EXPOLINE_OFF);
|
int nospec_call_disable = IS_ENABLED(CONFIG_EXPOLINE_OFF);
|
||||||
int nospec_return_disable = !IS_ENABLED(EXPOLINE_FULL);
|
int nospec_return_disable = !IS_ENABLED(CONFIG_EXPOLINE_FULL);
|
||||||
|
|
||||||
static int __init nospectre_v2_setup_early(char *str)
|
static int __init nospectre_v2_setup_early(char *str)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user