[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <e6d9f3b13f2a5a55a0b158e79dfc5a2d8dc40bd7.1518626149.git.jpoimboe@redhat.com>
Date: Wed, 14 Feb 2018 10:40:42 -0600
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org, Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Jason Baron <jbaron@...mai.com>, Borislav Petkov <bp@...e.de>,
Juergen Gross <jgross@...e.com>
Subject: [PATCH 2/3] x86/xen: Remove inert tracepoint in __init code
The jump_label code doesn't patch init code, so this tracepoint can
never be enabled. Remove it.
Cc: Juergen Gross <jgross@...e.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@...hat.com>
---
arch/x86/xen/enlighten_pv.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c
index c047f42552e1..0dbfad92f442 100644
--- a/arch/x86/xen/enlighten_pv.c
+++ b/arch/x86/xen/enlighten_pv.c
@@ -803,8 +803,6 @@ static void xen_write_gdt_entry(struct desc_struct *dt, int entry,
static void __init xen_write_gdt_entry_boot(struct desc_struct *dt, int entry,
const void *desc, int type)
{
- trace_xen_cpu_write_gdt_entry(dt, entry, desc, type);
-
switch (type) {
case DESC_LDT:
case DESC_TSS:
--
2.14.3
Powered by blists - more mailing lists