[tip: x86/cleanups] x86/asm/string_64: Remove unused linux/jump_label.h include

From: tip-bot2 for Mauricio Faria de Oliveira

Date: Fri Sep 18 2026 - 20:00:57 EST


The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: 975809caf4b0e07330110b56ca2d8a3fa7e16ff5
Gitweb: https://git.kernel.org/tip/975809caf4b0e07330110b56ca2d8a3fa7e16ff5
Author: Mauricio Faria de Oliveira <mfo@xxxxxxxxxx>
AuthorDate: Mon, 24 Aug 2026 16:27:23 -03:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Fri, 18 Sep 2026 15:54:44 -07:00

x86/asm/string_64: Remove unused linux/jump_label.h include

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

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

ec6347bb4339 ("x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()").

Signed-off-by: Mauricio Faria de Oliveira <mfo@xxxxxxxxxx>
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Link: https://patch.msgid.link/20260824-x86-inc-asm-str64-jmplbl-v2-1-df4d7bec9616@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 4635616..0ea680b 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 */