[PATCH v2] x86/asm/64: remove unused include from <asm/string_64.h>

From: Mauricio Faria de Oliveira

Date: Mon Aug 24 2026 - 15:31:13 EST


Remove the <linux/jump_label.h> include from <asm/string_64.h> since it is
no longer required.

This include was introduced for the static key declaration first added by
commit 3637efb00864 ("x86/mce: Add PCI quirks to identify Xeons with
machine check recovery").

However, it was left when the static key declaration was later removed by
commit ec6347bb4339 ("x86, powerpc: Rename memcpy_mcsafe() to
copy_mc_to_{user, kernel}()").

Signed-off-by: Mauricio Faria de Oliveira <mfo@xxxxxxxxxx>
---
Changes in v2:
- Reword commit message.
- Rebase on next-20260821.
- Link to v1 (RESEND): https://lore.kernel.org/r/20260630-x86-inc-asm-str64-jmplbl-v1-1-dc27720e2015@xxxxxxxxxx
- Link to v1: https://lore.kernel.org/all/20260521-x86-inc-asm-str64-jmplbl-v1-1-a506cbd61d6b@xxxxxxxxxx/
---
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: 903c1cf6dff9964e71eda98a39e2e5d442050472
change-id: 20260630-x86-inc-asm-str64-jmplbl-c0f0af447dd6

Best regards,
--
Mauricio Faria de Oliveira <mfo@xxxxxxxxxx>