]> git.baikalelectronics.ru Git - kernel.git/commit
x86/irq: Get rid of the 'first_system_vector' indirection bogosity
authorThomas Gleixner <tglx@linutronix.de>
Mon, 28 Aug 2017 06:47:18 +0000 (08:47 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Aug 2017 09:42:21 +0000 (11:42 +0200)
commit05161b9cbe553c41cf775ac41bb5120d94347e5c
tree577b974abdd922779721a2b98d0c80ae82cb8722
parentfa4ab5774dfe58fd5e99462f625253659d41df09
x86/irq: Get rid of the 'first_system_vector' indirection bogosity

This variable is beyond pointless. Nothing allocates a vector via
alloc_gate() below FIRST_SYSTEM_VECTOR. So nothing can change
first_system_vector.

If there is a need for a gate below FIRST_SYSTEM_VECTOR then it can be
added to the vector defines and FIRST_SYSTEM_VECTOR can be adjusted
accordingly.

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/20170828064956.357109735@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/desc.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/vector.c
arch/x86/kernel/irq.c
arch/x86/kernel/irqinit.c