Skip to contentSkip to conversation

x86_64-janitorial: exclude unused function

PATCH New Jan Kiszka 1 participant 1 message Oct 26, 2007

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 x86_64-janitorial: exclude unused function

---
 arch/x86_64/kernel/io_apic.c |    2 ++
 1 file changed, 2 insertions(+)
arch/x86_64/kernel/io_apic.c +2 -0
Index: linux-2.6.23.1_64-xeno/arch/x86_64/kernel/io_apic.c
===================================================================
@@ -152,6 +152,7 @@ static inline void io_apic_modify(unsign
 	writel(value, &io_apic->data);
 }
 
+#ifndef CONFIG_IPIPE
 static int io_apic_level_ack_pending(unsigned int irq)
 {
 	struct irq_pin_list *entry;
@@ -177,6 +178,7 @@ static int io_apic_level_ack_pending(uns
 	spin_unlock_irqrestore(&ioapic_lock, flags);
 	return pending;
 }
+#endif /* !CONFIG_IPIPE */
 
 /*
  * Synchronize the IO-APIC and the CPU by doing