x86/irqwork: Get rid of duplicated tracing interrupt code
authorThomas Gleixner <tglx@linutronix.de>
Mon, 28 Aug 2017 06:47:27 +0000 (08:47 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Aug 2017 09:42:26 +0000 (11:42 +0200)
commitdaabb8eb9a55af90d0a55d93547a51cc6921389f
tree29ec8f6e3fab5b15b201f4184ebdb5d7b0ca9bd4
parent61069de7a3252be0b1f567fe9e0b4723f1d2814f
x86/irqwork: Get rid of duplicated tracing interrupt code

Two NOP5s are a reasonable tradeoff to avoid duplicated code and the
requirement to switch the IDT.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20170828064957.064746737@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/hw_irq.h
arch/x86/kernel/irq_work.c