android_kernel_motorola_sm6375/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Arnd Bergmann ed8dcd9543 x86: Move gds_ucode_mitigated() declaration to header
commit eb3515dc99c7c85f4170b50838136b2a193f8012 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: 81ac7e5d74174 ("KVM: Add GDS_NO support to KVM")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Tested-by: Daniel Sneddon <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/all/20230809130530.1913368-2-arnd%40kernel.org
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2023-08-16 18:19:23 +02:00
..
alpha init: Remove check_bugs() leftovers 2023-08-08 19:56:34 +02:00
arc ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard 2023-07-27 08:37:18 +02:00
arm ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node 2023-08-11 11:54:02 +02:00
arm64 arm64: dts: stratix10: fix incorrect I2C property for SCL signal 2023-08-11 11:54:01 +02:00
c6x
csky
h8300
hexagon
ia64 ia64/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:56:34 +02:00
m68k m68k/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:56:34 +02:00
microblaze
mips mips/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:56:34 +02:00
nds32
nios2 nios2: dts: Fix tse_mac "max-frame-size" property 2023-06-21 15:44:10 +02:00
openrisc
parisc init: Remove check_bugs() leftovers 2023-08-08 19:56:34 +02:00
powerpc powerpc/mm/altmap: Fix altmap boundary check 2023-08-11 11:54:00 +02:00
riscv
s390 KVM: s390: fix sthyi error handling 2023-08-11 11:53:55 +02:00
sh sh/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:56:34 +02:00
sparc sparc/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:56:34 +02:00
um um/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:56:34 +02:00
unicore32
x86 x86: Move gds_ucode_mitigated() declaration to header 2023-08-16 18:19:23 +02:00
xtensa init: Remove check_bugs() leftovers 2023-08-08 19:56:34 +02:00
.gitignore
Kconfig init: Provide arch_cpu_finalize_init() 2023-08-08 19:56:33 +02:00