diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2010-09-29 11:18:47 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-12 10:53:44 -0400 |
| commit | 78f90d91f395cd0dc1ef3f21e0c5cd6fd50d202c (patch) | |
| tree | e9a6b0a5d8a0b99cd23dbc1c1f376a7e78a93428 /include | |
| parent | b7b29338dc7111ed8bd4d6555d84afae13ebe752 (diff) | |
genirq: Remove the now unused sparse irq leftovers
The move_irq_desc() function was only used due to the problem that the
allocator did not free the old descriptors. So the descriptors had to
be moved in create_irq_nr(). That's history.
The code would have never been able to move active interrupt
descriptors on affinity settings. That can be done in a completely
different way w/o all this horror.
Remove all of it.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
| -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 | ||
