Messages in this thread | | | Date | Tue, 24 May 2022 19:07:16 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH v2 RESEND] x86,trace: Remove unused headers |
| |
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
| |