Skip to contentSkip to conversation

x86: move default_ipi_xx back to ipi.c

PATCH Applied Yinghai Lu 2 participants 2 messages Jan 31, 2009 x86

lore
Share & tools
lore

Yinghai Lu

author
#0 lore raw

PATCH 1/1 x86: move default_ipi_xx back to ipi.c

Impact: cleanup

only leave _default_ipi_xx etc in .h

---
 arch/x86/include/asm/hw_irq.h |    6 --
 arch/x86/include/asm/ipi.h    |  123 +++---------------------------------------
 arch/x86/kernel/ipi.c         |  108 ++++++++++++++++++++++++++++++++++++
 3 files changed, 117 insertions(+), 120 deletions(-)
arch/x86/include/asm/hw_irq.h +0 -6
Index: linux-2.6/arch/x86/include/asm/hw_irq.h
===================================================================
@@ -73,12 +73,6 @@ extern void setup_ioapic_dest(void);
 extern void enable_IO_APIC(void);
 #endif
 
-/* IPI functions */
-#ifdef CONFIG_X86_32
-extern void default_send_IPI_self(int vector);
-#endif
-extern void default_send_IPI(int dest, int vector);
-
 /* Statistics */
 extern atomic_t irq_err_count;
 extern atomic_t irq_mis_count;
arch/x86/include/asm/ipi.h +13 -114

147 lines not on this page · raw message

arch/x86/kernel/ipi.c +108 -0

116 lines not on this page · raw message

Applied
#1 lore raw
Quoted 11 lines · Yinghai Lu

Impact: cleanup

only leave _default_ipi_xx etc in .h

---
 arch/x86/include/asm/hw_irq.h |    6 --
 arch/x86/include/asm/ipi.h    |  123 +++---------------------------------------
 arch/x86/kernel/ipi.c         |  108 ++++++++++++++++++++++++++++++++++++
 3 files changed, 117 insertions(+), 120 deletions(-)

Applied to tip/x86/apic, thanks Yinghai!

Ingo