Remove <linux/jump_label.h> from <asm/string_64.h>; it is no longer needed.
commit 3637efb00864 ("x86/mce: Add PCI quirks to identify Xeons with
machine check recovery") first added a static key declaration and its
required include.
commit ec6347bb4339 ("x86, powerpc: Rename memcpy_mcsafe() to
copy_mc_to_{user, kernel}()") later removed the static key declaration and
associated code, but left the (unused) include.
Compile-tested with allyesconfig in GCC and LLVM. No errors, so apparently
no file indirectly relied upon this include.
Signed-off-by: Mauricio Faria de Oliveira <mfo@igalia.com>
---
arch/x86/include/asm/string_64.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/include/asm/string_64.h b/arch/x86/include/asm/string_64.h
index 4635616863f53d0e1be1cd596b7141ee63bfdf44..0ea680bf403a91be9dbb32019e2d6a82cc1d848a 100644
--- a/arch/x86/include/asm/string_64.h
+++ b/arch/x86/include/asm/string_64.h
@@ -3,7 +3,6 @@
#define _ASM_X86_STRING_64_H
#ifdef __KERNEL__
-#include <linux/jump_label.h>
/* Written 2002 by Andi Kleen */
---
base-commit: 550604d6c9b9efc8d068aff94dc301694a7afdee
change-id: 20260521-x86-inc-asm-str64-jmplbl-de1c47885f70
Best regards,
--
Mauricio Faria de Oliveira <mfo@igalia.com>