Revert "irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1"
This reverts commit 885f9ed9d0
.
This commit is contained in:
parent
0868060b93
commit
9ef6f3ea9a
1 changed files with 0 additions and 4 deletions
|
@ -546,10 +546,6 @@ static struct irq_chip armada_370_xp_irq_chip = {
|
|||
static int armada_370_xp_mpic_irq_map(struct irq_domain *h,
|
||||
unsigned int virq, irq_hw_number_t hw)
|
||||
{
|
||||
/* IRQs 0 and 1 cannot be mapped, they are handled internally */
|
||||
if (hw <= 1)
|
||||
return -EINVAL;
|
||||
|
||||
armada_370_xp_irq_mask(irq_get_irq_data(virq));
|
||||
if (!is_percpu_irq(hw))
|
||||
writel(hw, per_cpu_int_base +
|
||||
|
|
Loading…
Reference in a new issue