arch: x86: Rename CPU_NO_SPECTRE to CPU_NO_SPECTRE_V2

There's a new known variant, so make it clear what this one is for.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
This commit is contained in:
Leandro Pereira 2018-05-21 17:36:40 -07:00 committed by Anas Nashif
commit fb0fba91a5
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ config X86_NO_MELTDOWN
This hidden option should be set on a per-SOC basis to indicate that
a particular SOC is not vulnerable to the Meltdown CPU vulnerability.
config X86_NO_SPECTRE
config X86_NO_SPECTRE_V2
bool
default y
help

View file

@ -556,7 +556,7 @@ menu "Security Options"
config RETPOLINE
bool
prompt "Build with retpolines enabled"
default y if !X86_NO_SPECTRE
default y if !X86_NO_SPECTRE_V2
help
This is recommended on platforms with speculative executions, to protect
against branch target injection (AKA Spectre-V2). Full description of