diff options
Diffstat (limited to 'arch/x86/include/asm/intr_remapping.h')
-rw-r--r-- | arch/x86/include/asm/intr_remapping.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/include/asm/intr_remapping.h b/arch/x86/include/asm/intr_remapping.h index a22e1f1ac7ec..ae933ecfd8f0 100644 --- a/arch/x86/include/asm/intr_remapping.h +++ b/arch/x86/include/asm/intr_remapping.h | |||
@@ -40,6 +40,9 @@ extern int intr_setup_ioapic_entry(int irq, | |||
40 | struct IO_APIC_route_entry *entry, | 40 | struct IO_APIC_route_entry *entry, |
41 | unsigned int destination, int vector, | 41 | unsigned int destination, int vector, |
42 | struct io_apic_irq_attr *attr); | 42 | struct io_apic_irq_attr *attr); |
43 | extern int intr_set_affinity(struct irq_data *data, | ||
44 | const struct cpumask *mask, | ||
45 | bool force); | ||
43 | 46 | ||
44 | #else /* CONFIG_IRQ_REMAP */ | 47 | #else /* CONFIG_IRQ_REMAP */ |
45 | 48 | ||
@@ -59,6 +62,12 @@ static inline int intr_setup_ioapic_entry(int irq, | |||
59 | { | 62 | { |
60 | return -ENODEV; | 63 | return -ENODEV; |
61 | } | 64 | } |
65 | static inline int intr_set_affinity(struct irq_data *data, | ||
66 | const struct cpumask *mask, | ||
67 | bool force) | ||
68 | { | ||
69 | return 0; | ||
70 | } | ||
62 | #endif /* CONFIG_IRQ_REMAP */ | 71 | #endif /* CONFIG_IRQ_REMAP */ |
63 | 72 | ||
64 | #endif /* __X86_INTR_REMAPPING_H */ | 73 | #endif /* __X86_INTR_REMAPPING_H */ |