From: Ingo Molnar Date: Mon, 19 Jan 2009 19:49:37 +0000 (+0100) Subject: x86: fully honor "nolapic", fix X-Git-Tag: firefly_0821_release~13991^2~247^2~66 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5cdc5e9e69d4dc3a3630ae1fa666401b2a8dcde6;p=firefly-linux-kernel-4.4.55.git x86: fully honor "nolapic", fix Impact: build fix Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index 485787955834..9ca12af6c876 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c @@ -1131,7 +1131,9 @@ void __cpuinit setup_local_APIC(void) int i, j; if (disable_apic) { +#ifdef CONFIG_X86_IO_APIC disable_ioapic_setup(); +#endif return; }