diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-26 16:05:08 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-26 16:05:08 +0900 |
commit | 38ab13441c36c0c470b7e4e3b30ec2fb6beba253 (patch) | |
tree | 12d4ef364ec103b85fe0089ca09b7386fad8bfa8 /drivers/sh/intc/core.c | |
parent | 57b813303ab40557aada8f8886400f3a9de3c0f8 (diff) |
sh: Switch dynamic IRQ creation to generic irq allocator.
Now that the genirq code provides an IRQ bitmap of its own and the
necessary API to manipulate it, there's no need to keep our own version
around anymore.
In the process we kill off some unused IRQ reservation code, with future
users now having to tie in to the genirq API as normal.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/intc/core.c')
-rw-r--r-- | drivers/sh/intc/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/intc/core.c b/drivers/sh/intc/core.c index 8f3c27e9f9e..0801089828e 100644 --- a/drivers/sh/intc/core.c +++ b/drivers/sh/intc/core.c @@ -78,7 +78,7 @@ static void __init intc_register_irq(struct intc_desc *desc, * Register the IRQ position with the global IRQ map, then insert * it in to the radix tree. */ - reserve_irq_vector(irq); + irq_reserve_irqs(irq, 1); raw_spin_lock_irqsave(&intc_big_lock, flags); radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); |