x86: irq: Fix placement of mp_should_keep_irq()
authorJan Beulich <JBeulich@suse.com>
Mon, 3 Nov 2014 08:15:42 +0000 (08:15 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 16 Dec 2014 13:08:14 +0000 (14:08 +0100)
commite10679825924580845c4825deaaddf5331ff627c
treec052eea779aa058de20fc1b19679188d199954ab
parent9f50c6ea0d02a58abd498250abd11bde687bbe22
x86: irq: Fix placement of mp_should_keep_irq()

While f3761db164 ("x86, irq: Fix build error caused by
9eabc99a635a77cbf09") addressed the original build problem,
declaration, inline stub, and definition still seem misplaced: It isn't
really IO-APIC related, and it's being used solely in arch/x86/pci/.
This also means stubbing it out when !CONFIG_X86_IO_APIC was at least
questionable.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Link: http://lkml.kernel.org/r/545747BE020000780004436E@mail.emea.novell.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/io_apic.h
arch/x86/include/asm/pci_x86.h
arch/x86/kernel/apic/io_apic.c
arch/x86/pci/irq.c