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>
Showing
- arch/x86/include/asm/hw_irq.h 3 additions, 3 deletionsarch/x86/include/asm/hw_irq.h
- arch/x86/include/asm/irq.h 3 additions, 1 deletionarch/x86/include/asm/irq.h
- arch/x86/kernel/apic/vector.c 24 additions, 27 deletionsarch/x86/kernel/apic/vector.c
- arch/x86/kernel/irq.c 16 additions, 21 deletionsarch/x86/kernel/irq.c
- arch/x86/kernel/irq_32.c 4 additions, 5 deletionsarch/x86/kernel/irq_32.c
- arch/x86/kernel/irq_64.c 3 additions, 6 deletionsarch/x86/kernel/irq_64.c
- arch/x86/kernel/irqinit.c 2 additions, 2 deletionsarch/x86/kernel/irqinit.c
- arch/x86/lguest/boot.c 3 additions, 1 deletionarch/x86/lguest/boot.c
Please register or sign in to comment