diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/irqdesc.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h index f77dc5618d7e..979c68cc7458 100644 --- a/include/linux/irqdesc.h +++ b/include/linux/irqdesc.h | |||
| @@ -82,24 +82,16 @@ struct irq_desc { | |||
| 82 | const char *name; | 82 | const char *name; |
| 83 | } ____cacheline_internodealigned_in_smp; | 83 | } ____cacheline_internodealigned_in_smp; |
| 84 | 84 | ||
| 85 | extern void arch_init_copy_chip_data(struct irq_desc *old_desc, | ||
| 86 | struct irq_desc *desc, int node); | ||
| 87 | extern void arch_free_chip_data(struct irq_desc *old_desc, struct irq_desc *desc); | ||
| 88 | |||
| 89 | #ifndef CONFIG_SPARSE_IRQ | 85 | #ifndef CONFIG_SPARSE_IRQ |
| 90 | extern struct irq_desc irq_desc[NR_IRQS]; | 86 | extern struct irq_desc irq_desc[NR_IRQS]; |
| 91 | #endif | 87 | #endif |
| 92 | 88 | ||
| 93 | #ifdef CONFIG_NUMA_IRQ_DESC | 89 | /* Will be removed once the last users in power and sh are gone */ |
| 94 | extern struct irq_desc *move_irq_desc(struct irq_desc *old_desc, int node); | 90 | extern struct irq_desc *irq_to_desc_alloc_node(unsigned int irq, int node); |
| 95 | #else | ||
| 96 | static inline struct irq_desc *move_irq_desc(struct irq_desc *desc, int node) | 91 | static inline struct irq_desc *move_irq_desc(struct irq_desc *desc, int node) |
| 97 | { | 92 | { |
| 98 | return desc; | 93 | return desc; |
| 99 | } | 94 | } |
| 100 | #endif | ||
| 101 | |||
| 102 | extern struct irq_desc *irq_to_desc_alloc_node(unsigned int irq, int node); | ||
| 103 | 95 | ||
| 104 | #ifdef CONFIG_GENERIC_HARDIRQS | 96 | #ifdef CONFIG_GENERIC_HARDIRQS |
| 105 | 97 | ||
