mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] x86/asm/64: remove unused include from <asm/string_64.h>
@ 2026-08-24 19:27 Mauricio Faria de Oliveira
  2026-09-19  0:00 ` [tip: x86/cleanups] x86/asm/string_64: Remove unused linux/jump_label.h include tip-bot2 for Mauricio Faria de Oliveira
  0 siblings, 1 reply; 2+ messages in thread
From: Mauricio Faria de Oliveira @ 2026-08-24 19:27 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 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@igalia.com>
---
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@igalia.com
- Link to v1: https://lore.kernel.org/all/20260521-x86-inc-asm-str64-jmplbl-v1-1-a506cbd61d6b@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: 903c1cf6dff9964e71eda98a39e2e5d442050472
change-id: 20260630-x86-inc-asm-str64-jmplbl-c0f0af447dd6

Best regards,
-- 
Mauricio Faria de Oliveira <mfo@igalia.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip: x86/cleanups] x86/asm/string_64: Remove unused linux/jump_label.h include
  2026-08-24 19:27 [PATCH v2] x86/asm/64: remove unused include from <asm/string_64.h> Mauricio Faria de Oliveira
@ 2026-09-19  0:00 ` tip-bot2 for Mauricio Faria de Oliveira
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Mauricio Faria de Oliveira @ 2026-09-19  0:00 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Mauricio Faria de Oliveira, Borislav Petkov (AMD), x86, linux-kernel

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@igalia.com>
AuthorDate:    Mon, 24 Aug 2026 16:27:23 -03:00
Committer:     Borislav Petkov (AMD) <bp@alien8.de>
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@igalia.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260824-x86-inc-asm-str64-jmplbl-v2-1-df4d7bec9616@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 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 */
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-19  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-24 19:27 [PATCH v2] x86/asm/64: remove unused include from <asm/string_64.h> Mauricio Faria de Oliveira
2026-09-19  0:00 ` [tip: x86/cleanups] x86/asm/string_64: Remove unused linux/jump_label.h include tip-bot2 for 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

all inboxes | Powered by JetHome®