Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20f95e0b authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: intc: Update for single IRQ reservation helper.



Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent c8ddb271
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -79,7 +79,7 @@ static void __init intc_register_irq(struct intc_desc *desc,
	 * Register the IRQ position with the global IRQ map, then insert
	 * Register the IRQ position with the global IRQ map, then insert
	 * it in to the radix tree.
	 * it in to the radix tree.
	 */
	 */
	irq_reserve_irqs(irq, 1);
	irq_reserve_irq(irq);


	raw_spin_lock_irqsave(&intc_big_lock, flags);
	raw_spin_lock_irqsave(&intc_big_lock, flags);
	radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq));
	radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq));
+1 −1
Original line number Original line Diff line number Diff line
@@ -60,5 +60,5 @@ void reserve_intc_vectors(struct intc_vect *vectors, unsigned int nr_vecs)
	int i;
	int i;


	for (i = 0; i < nr_vecs; i++)
	for (i = 0; i < nr_vecs; i++)
		irq_reserve_irqs(evt2irq(vectors[i].vect), 1);
		irq_reserve_irq(evt2irq(vectors[i].vect));
}
}