summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/intel.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-01-27 15:45:14 +0100
committerThomas Gleixner <tglx@linutronix.de>2018-01-27 15:45:14 +0100
commite383095c7fe8d218e00ec0f83e4b95ed4e627b02 (patch)
treeead1c52833edd880b4d81143d05486e3b5531083 /arch/x86/kernel/cpu/intel.c
parent55fa19d3e51f33d9cd4056d25836d93abf9438db (diff)
downloadlinux-rt-e383095c7fe8d218e00ec0f83e4b95ed4e627b02.tar.gz
x86/cpu/bugs: Make retpoline module warning conditional
If sysfs is disabled and RETPOLINE not defined: arch/x86/kernel/cpu/bugs.c:97:13: warning: ‘spectre_v2_bad_module’ defined but not used [-Wunused-variable] static bool spectre_v2_bad_module; Hide it. Fixes: caf7501a1b4e ("module/retpoline: Warn about missing retpoline in module") Reported-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andi Kleen <ak@linux.intel.com> Cc: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'arch/x86/kernel/cpu/intel.c')
0 files changed, 0 insertions, 0 deletions