Re: [patch 24/32] sh: intc: Remove pointless irq_reserve_irqs() invocation
From: Simon Horman
Date: Sun May 11 2014 - 04:36:33 EST
On Wed, May 07, 2014 at 03:44:18PM -0000, Thomas Gleixner wrote:
> The preceding call to irq_create_identity_mapping() marks the
> interrupt as allocated already. Remove the leftover.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: linux-sh@xxxxxxxxxxxxxxx
> Cc: Simon Horman <horms@xxxxxxxxxxxx>
This duplicates a similar patch, "[PATCH v3 2/8] sh, irq: Remove
irq_reserve_irq calling", by Yinghai Lu. But perhaps you already know that.
Regardless, I am fine with the contents.
Acked-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>
> ---
> drivers/sh/intc/core.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> Index: tip/drivers/sh/intc/core.c
> ===================================================================
> --- tip.orig/drivers/sh/intc/core.c
> +++ tip/drivers/sh/intc/core.c
> @@ -80,12 +80,6 @@ static void __init intc_register_irq(str
> unsigned int data[2], primary;
> unsigned long flags;
>
> - /*
> - * Register the IRQ position with the global IRQ map, then insert
> - * it in to the radix tree.
> - */
> - irq_reserve_irq(irq);
> -
> raw_spin_lock_irqsave(&intc_big_lock, flags);
> radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq));
> raw_spin_unlock_irqrestore(&intc_big_lock, flags);
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/