linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2 RESEND] x86,trace: Remove unused headers
       [not found] <CAJncD7SNDAFXFTaSf07P6-OK6j9iTHj1Xj_ssBccB-XLDZWaMA@mail.gmail.com>
@ 2022-05-24 23:07 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2022-05-24 23:07 UTC (permalink / raw)
  To: sunliming
  Cc: mingo, tglx, bp, dave.hansen, x86, linux-kernel,
	linux-trace-devel, akpm, sunliming

On Thu, 5 May 2022 13:41:29 +0800
sunliming <kelulanainsley@gmail.com> wrote:

> From: sunliming <sunliming@kylinos.cn>
> To: mingo@redhat.com, rostedt@goodmis.org, tglx@linutronix.de,
> 	bp@alien8.de, dave.hansen@linux.intel.com
> Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
> 	x86@kernel.org, linux-trace-devel@vger.kernel.org, sunliming
> <sunliming@kylinos.cn>
> Subject: [PATCH v2 RESEND] x86,trace: Remove unused headers
> <https://lore.kernel.org/all/20220426120950.495950-1-sunliming@kylinos.cn/#r>
> Date: Tue, 26 Apr 2022 20:09:50 +0800
> 
> 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
> <https://lore.kernel.org/all/20220426120950.495950-1-sunliming@kylinos.cn/#Z31arch:x86:kernel:tracepoint.c>
> | 3 ---
>  1 file changed, 3 deletions(-)
> diff <https://lore.kernel.org/all/20220426120950.495950-1-sunliming@kylinos.cn/#iZ31arch:x86:kernel:tracepoint.c>
> --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);
> 

Your email client mangled the patch.

-- Steve



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

* [PATCH v2 RESEND] x86,trace: Remove unused headers
@ 2022-05-25  1:28 sunliming
  0 siblings, 0 replies; 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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAJncD7SNDAFXFTaSf07P6-OK6j9iTHj1Xj_ssBccB-XLDZWaMA@mail.gmail.com>
2022-05-24 23:07 ` [PATCH v2 RESEND] x86,trace: Remove unused headers Steven Rostedt
2022-05-25  1:28 sunliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).