]> git.baikalelectronics.ru Git - kernel.git/commit
x86/ipi: Make platform IPI depend on APIC
authorThomas Gleixner <tglx@linutronix.de>
Mon, 28 Aug 2017 06:47:34 +0000 (08:47 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Aug 2017 09:42:29 +0000 (11:42 +0200)
commit0428e01a2f13a6b7dae8289fb10030dbea336dee
tree136eb5ccd9d75a247e55dc1f13971f320e16f461
parent809547472edae0bc68f2b5abc37b92c8a988bc8a
x86/ipi: Make platform IPI depend on APIC

The platform IPI vector is only installed when the local APIC is enabled. All
users of it depend on the local APIC anyway.

Make the related code conditional on CONFIG_X86_LOCAL_APIC=y.

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