All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 RESEND] x86,trace: Remove unused headers
@ 2022-05-25  1:28 sunliming
  2022-05-25 13:50 ` [tip: x86/cleanups] x86/idt: " tip-bot2 for sunliming
  0 siblings, 1 reply; 2+ messages in thread
From: sunliming @ 2022-05-25  1:28 UTC (permalink / raw)
  To: mingo, rostedt, tglx, bp, dave.hansen
  Cc: linux-kernel, akpm, x86, linux-trace-devel, sunliming

Commit 4b9a8dca0e58 ("x86/idt: Remove the tracing IDT completely")
removed the tracing IDT from the file arch/x86/kernel/tracepoint.c,
but left the related headers unused, remove it.

Signed-off-by: sunliming <sunliming@kylinos.cn>
---
 arch/x86/kernel/tracepoint.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/x86/kernel/tracepoint.c b/arch/x86/kernel/tracepoint.c
index fcfc077afe2d..f39aad69fb64 100644
--- a/arch/x86/kernel/tracepoint.c
+++ b/arch/x86/kernel/tracepoint.c
@@ -8,10 +8,7 @@
 #include <linux/jump_label.h>
 #include <linux/atomic.h>
 
-#include <asm/hw_irq.h>
-#include <asm/desc.h>
 #include <asm/trace/exceptions.h>
-#include <asm/trace/irq_vectors.h>
 
 DEFINE_STATIC_KEY_FALSE(trace_pagefault_key);
 
-- 
2.25.1


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

* [tip: x86/cleanups] x86/idt: Remove unused headers
  2022-05-25  1:28 [PATCH v2 RESEND] x86,trace: Remove unused headers sunliming
@ 2022-05-25 13:50 ` tip-bot2 for sunliming
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for sunliming @ 2022-05-25 13:50 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: sunliming, Ingo Molnar, x86, linux-kernel

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

Commit-ID:     20eb48885b62d5de4ab6be7e08f9f55aa33333fd
Gitweb:        https://git.kernel.org/tip/20eb48885b62d5de4ab6be7e08f9f55aa33333fd
Author:        sunliming <kelulanainsley@gmail.com>
AuthorDate:    Wed, 25 May 2022 09:28:27 +08:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Wed, 25 May 2022 15:45:00 +02:00

x86/idt: Remove unused headers

Commit:

  4b9a8dca0e58 ("x86/idt: Remove the tracing IDT completely")

removed the 'tracing IDT' from arch/x86/kernel/tracepoint.c,
but left related headers included - remove them.

[ mingo: Tweak changelog. ]

Signed-off-by: sunliming <sunliming@kylinos.cn>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20220525012827.93464-1-sunliming@kylinos.cn
---
 arch/x86/kernel/tracepoint.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/x86/kernel/tracepoint.c b/arch/x86/kernel/tracepoint.c
index fcfc077..f39aad6 100644
--- a/arch/x86/kernel/tracepoint.c
+++ b/arch/x86/kernel/tracepoint.c
@@ -8,10 +8,7 @@
 #include <linux/jump_label.h>
 #include <linux/atomic.h>
 
-#include <asm/hw_irq.h>
-#include <asm/desc.h>
 #include <asm/trace/exceptions.h>
-#include <asm/trace/irq_vectors.h>
 
 DEFINE_STATIC_KEY_FALSE(trace_pagefault_key);
 

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

end of thread, other threads:[~2022-05-25 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25  1:28 [PATCH v2 RESEND] x86,trace: Remove unused headers sunliming
2022-05-25 13:50 ` [tip: x86/cleanups] x86/idt: " tip-bot2 for sunliming

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.