|
@@ -617,18 +617,11 @@ int __irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node,
|
|
irq_alloc_descs(-1, from, cnt, node)
|
|
irq_alloc_descs(-1, from, cnt, node)
|
|
|
|
|
|
void irq_free_descs(unsigned int irq, unsigned int cnt);
|
|
void irq_free_descs(unsigned int irq, unsigned int cnt);
|
|
-int irq_reserve_irqs(unsigned int from, unsigned int cnt);
|
|
|
|
-
|
|
|
|
static inline void irq_free_desc(unsigned int irq)
|
|
static inline void irq_free_desc(unsigned int irq)
|
|
{
|
|
{
|
|
irq_free_descs(irq, 1);
|
|
irq_free_descs(irq, 1);
|
|
}
|
|
}
|
|
|
|
|
|
-static inline int irq_reserve_irq(unsigned int irq)
|
|
|
|
-{
|
|
|
|
- return irq_reserve_irqs(irq, 1);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
#ifdef CONFIG_GENERIC_IRQ_LEGACY_ALLOC_HWIRQ
|
|
#ifdef CONFIG_GENERIC_IRQ_LEGACY_ALLOC_HWIRQ
|
|
unsigned int irq_alloc_hwirqs(int cnt, int node);
|
|
unsigned int irq_alloc_hwirqs(int cnt, int node);
|
|
static inline unsigned int irq_alloc_hwirq(int node)
|
|
static inline unsigned int irq_alloc_hwirq(int node)
|