Re: [PATCH] s390: Replace IS_ENABLED(EXPOLINE_*) with IS_ENABLED(CONFIG_EXPOLINE_*)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 18 Feb 2018 00:10:29 +0100
Eugeniu Rosca <roscaeugeniu@xxxxxxxxx> wrote:

> From: Eugeniu Rosca <erosca@xxxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxx>
> ---
>  arch/s390/kernel/nospec-branch.c | 4 ++--
>  1 file 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)
>  {

Applied, thank you!

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.

--
To unsubscribe from this list: send the line "unsubscribe linux-s390" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux