Files
android_kernel_xiaomi_sm8450/arch/x86/include/asm
Arnd Bergmann 98eaa12c96 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 <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:21:00 +02:00
..
2020-06-09 09:39:13 -07:00
2022-07-25 11:26:36 +02:00
2018-12-03 10:49:13 +01:00
2020-05-07 16:06:20 +02:00
2020-08-20 11:18:36 +02:00
2020-07-27 14:29:23 -04:00
2022-07-25 11:26:24 +02:00
2020-09-16 16:52:35 +02:00
2018-08-15 13:44:10 -07:00
2022-07-25 11:26:12 +02:00
2019-04-16 12:26:18 +02:00
2019-04-22 11:42:59 +02:00
2023-07-24 19:09:12 +02:00
2020-09-16 16:52:28 +02:00
2020-09-16 16:52:35 +02:00
2023-08-08 19:57:40 +02:00
2021-02-07 15:37:14 +01:00
2023-08-08 19:57:40 +02:00
2022-07-25 11:26:09 +02:00
2018-03-20 10:01:57 +01:00
2020-06-02 10:59:12 -07:00
2019-04-10 09:53:31 +02:00
2020-03-21 16:03:25 +01:00
2023-01-04 11:39:18 +01:00
2020-01-14 12:20:58 +01:00
2020-03-23 18:45:14 +01:00
2020-01-14 12:20:58 +01:00