x86/irq: Store irq descriptor in vector array
authorThomas Gleixner <tglx@linutronix.de>
Sun, 2 Aug 2015 20:38:27 +0000 (20:38 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 5 Aug 2015 22:14:59 +0000 (00:14 +0200)
commita782a7e46bb50822fabfeb7271605762a59c86df
treea1b4d1798fc5b87f255716f07a170795cf5d5600
parentf61ae4fb66a4f7ae49e3456003fc4328d6db09c9
x86/irq: Store irq descriptor in vector array

We can spare the irq_desc lookup in the interrupt entry code if we
store the descriptor pointer in the vector array instead the interrupt
number.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Link: http://lkml.kernel.org/r/20150802203609.717724106@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/hw_irq.h
arch/x86/include/asm/irq.h
arch/x86/kernel/apic/vector.c
arch/x86/kernel/irq.c
arch/x86/kernel/irq_32.c
arch/x86/kernel/irq_64.c
arch/x86/kernel/irqinit.c
arch/x86/lguest/boot.c