aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irqdesc.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-09-29 11:18:47 -0400
committerThomas Gleixner <tglx@linutronix.de>2010-10-12 10:53:44 -0400
commit78f90d91f395cd0dc1ef3f21e0c5cd6fd50d202c (patch)
treee9a6b0a5d8a0b99cd23dbc1c1f376a7e78a93428 /include/linux/irqdesc.h
parentb7b29338dc7111ed8bd4d6555d84afae13ebe752 (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/linux/irqdesc.h')
-rw-r--r--include/linux/irqdesc.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h
index f77dc5618d7..979c68cc745 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
85extern void arch_init_copy_chip_data(struct irq_desc *old_desc,
86 struct irq_desc *desc, int node);
87extern 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
90extern struct irq_desc irq_desc[NR_IRQS]; 86extern 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 */
94extern struct irq_desc *move_irq_desc(struct irq_desc *old_desc, int node); 90extern struct irq_desc *irq_to_desc_alloc_node(unsigned int irq, int node);
95#else
96static inline struct irq_desc *move_irq_desc(struct irq_desc *desc, int node) 91static 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
102extern 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