aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r--include/linux/irq.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h
index 4b95ddb5304b..eedbb8e5e0cc 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -206,9 +206,16 @@ extern void arch_free_chip_data(struct irq_desc *old_desc, struct irq_desc *desc
206 206
207#ifndef CONFIG_SPARSE_IRQ 207#ifndef CONFIG_SPARSE_IRQ
208extern struct irq_desc irq_desc[NR_IRQS]; 208extern struct irq_desc irq_desc[NR_IRQS];
209#else /* CONFIG_SPARSE_IRQ */ 209#endif
210
211#ifdef CONFIG_NUMA_IRQ_DESC
210extern struct irq_desc *move_irq_desc(struct irq_desc *old_desc, int node); 212extern struct irq_desc *move_irq_desc(struct irq_desc *old_desc, int node);
211#endif /* CONFIG_SPARSE_IRQ */ 213#else
214static inline struct irq_desc *move_irq_desc(struct irq_desc *desc, int node)
215{
216 return desc;
217}
218#endif
212 219
213extern struct irq_desc *irq_to_desc_alloc_node(unsigned int irq, int node); 220extern struct irq_desc *irq_to_desc_alloc_node(unsigned int irq, int node);
214 221