* [PATCH RESEND] x86/asm/64: remove unused include from <asm/string_64.h>
@ 2026-06-30 20:39 Mauricio Faria de Oliveira
0 siblings, 0 replies; only message in thread
From: Mauricio Faria de Oliveira @ 2026-06-30 20:39 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
H. Peter Anvin
Cc: kernel-dev, linux-kernel, Mauricio Faria de Oliveira
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: 7de6ae9e12207ec146f2f3f1e58d1a99317e88bc
change-id: 20260630-x86-inc-asm-str64-jmplbl-c0f0af447dd6
Best regards,
--
Mauricio Faria de Oliveira <mfo@igalia.com>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-30 20:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 20:39 [PATCH RESEND] x86/asm/64: remove unused include from <asm/string_64.h> Mauricio Faria de Oliveira
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox