aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/io_apic.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/io_apic.h')
-rw-r--r--arch/x86/include/asm/io_apic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/io_apic.h b/arch/x86/include/asm/io_apic.h
index 1838e884a5cc..459e50a424d1 100644
--- a/arch/x86/include/asm/io_apic.h
+++ b/arch/x86/include/asm/io_apic.h
@@ -161,6 +161,7 @@ extern void eoi_ioapic_irq(unsigned int irq, struct irq_cfg *cfg);
161extern void native_compose_msi_msg(struct pci_dev *pdev, 161extern void native_compose_msi_msg(struct pci_dev *pdev,
162 unsigned int irq, unsigned int dest, 162 unsigned int irq, unsigned int dest,
163 struct msi_msg *msg, u8 hpet_id); 163 struct msi_msg *msg, u8 hpet_id);
164extern void native_eoi_ioapic_pin(int apic, int pin, int vector);
164int io_apic_setup_irq_pin_once(unsigned int irq, int node, struct io_apic_irq_attr *attr); 165int io_apic_setup_irq_pin_once(unsigned int irq, int node, struct io_apic_irq_attr *attr);
165 166
166extern int save_ioapic_entries(void); 167extern int save_ioapic_entries(void);
@@ -211,6 +212,9 @@ static inline void io_apic_modify(unsigned int apic, unsigned int reg, unsigned
211{ 212{
212 x86_io_apic_ops.modify(apic, reg, value); 213 x86_io_apic_ops.modify(apic, reg, value);
213} 214}
215
216extern void io_apic_eoi(unsigned int apic, unsigned int vector);
217
214#else /* !CONFIG_X86_IO_APIC */ 218#else /* !CONFIG_X86_IO_APIC */
215 219
216#define io_apic_assign_pci_irqs 0 220#define io_apic_assign_pci_irqs 0
@@ -246,6 +250,7 @@ static inline void disable_ioapic_support(void) { }
246#define native_ioapic_set_affinity NULL 250#define native_ioapic_set_affinity NULL
247#define native_setup_ioapic_entry NULL 251#define native_setup_ioapic_entry NULL
248#define native_compose_msi_msg NULL 252#define native_compose_msi_msg NULL
253#define native_eoi_ioapic_pin NULL
249#endif 254#endif
250 255
251#endif /* _ASM_X86_IO_APIC_H */ 256#endif /* _ASM_X86_IO_APIC_H */