From: Andrew Morton Cc: Eric W. Biederman Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Benjamin Herrenschmidt Cc: Rajesh Shah Cc: Andi Kleen Cc: "Protasevich, Natalie" Cc: "Luck, Tony" Signed-off-by: Andrew Morton --- arch/x86_64/kernel/io_apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/x86_64/kernel/io_apic.c~genirq-x86_64-irq-make-vector_irq-per-cpu-warning-fix arch/x86_64/kernel/io_apic.c --- a/arch/x86_64/kernel/io_apic.c~genirq-x86_64-irq-make-vector_irq-per-cpu-warning-fix +++ a/arch/x86_64/kernel/io_apic.c @@ -134,6 +134,7 @@ static void ioapic_write_entry(int apic, spin_unlock_irqrestore(&ioapic_lock, flags); } +#ifdef CONFIG_SMP static void __target_IO_APIC_irq(unsigned int irq, unsigned int dest, u8 vector) { int apic, pin; @@ -157,7 +158,6 @@ static void __target_IO_APIC_irq(unsigne } } -#ifdef CONFIG_SMP static void set_ioapic_affinity_irq(unsigned int irq, cpumask_t mask) { unsigned long flags; _