WSL2-Linux-Kernel/arch
Arnd Bergmann 4c6767c8bf x86: Move gds_ucode_mitigated() declaration to header
commit eb3515dc99 upstream.

The declaration got placed in the .c file of the caller, but that
causes a warning for the definition:

arch/x86/kernel/cpu/bugs.c:682:6: error: no previous prototype for 'gds_ucode_mitigated' [-Werror=missing-prototypes]

Move it to a header where both sides can observe it instead.

Fixes: 81ac7e5d74 ("KVM: Add GDS_NO support to KVM")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Tested-by: Daniel Sneddon <daniel.sneddon@linux.intel.com>
Cc: stable@kernel.org
Link: https://lore.kernel.org/all/20230809130530.1913368-2-arnd%40kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-16 18:22:00 +02:00
..
alpha init: Remove check_bugs() leftovers 2023-08-08 19:58:31 +02:00
arc ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard 2023-07-23 13:47:15 +02:00
arm ARM: cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:58:30 +02:00
arm64 arm64: dts: stratix10: fix incorrect I2C property for SCL signal 2023-08-11 15:13:56 +02:00
csky kprobes: treewide: Cleanup the error messages for kprobes 2023-02-22 12:57:00 +01:00
h8300 h8300: Fix build errors from do_exit() to make_task_dead() transition 2023-02-01 08:27:21 +01:00
hexagon hexagon: Fix function name in die() 2023-02-01 08:27:20 +01:00
ia64 ia64/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:58:30 +02:00
m68k m68k/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:58:30 +02:00
microblaze exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
mips mips/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:58:30 +02:00
nds32 exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
nios2 nios2: dts: Fix tse_mac "max-frame-size" property 2023-06-21 15:59:14 +02:00
openrisc openrisc: Properly store r31 to pt_regs on unhandled exceptions 2023-05-11 23:00:37 +09:00
parisc init: Remove check_bugs() leftovers 2023-08-08 19:58:31 +02:00
powerpc powerpc/mm/altmap: Fix altmap boundary check 2023-08-11 15:13:59 +02:00
riscv riscv,mmio: Fix readX()-to-delay() ordering 2023-08-16 18:21:58 +02:00
s390 KVM: s390: fix sthyi error handling 2023-08-11 15:13:49 +02:00
sh sh/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:58:31 +02:00
sparc sparc/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:58:31 +02:00
um um/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:58:31 +02:00
x86 x86: Move gds_ucode_mitigated() declaration to header 2023-08-16 18:22:00 +02:00
xtensa init: Remove check_bugs() leftovers 2023-08-08 19:58:31 +02:00
.gitignore
Kconfig init: Provide arch_cpu_finalize_init() 2023-08-08 19:58:30 +02:00