[PATCH 36/37] powerpc: remove virq_to_host
Grant Likely
grant.likely at secretlab.ca
Thu May 12 05:17:04 EST 2011
On Wed, May 11, 2011 at 7:30 AM, Milton Miller <miltonm at bga.com> wrote:
> The only references to the irq_map[].host field are internal to
> arch/powerpc/kernel/irq.c
>
> Signed-off-by: Milton Miller <miltonm at bga.com>
Acked-by: Grant Likely <grant.likely at secretlab.ca>
> ---
> ---
> arch/powerpc/include/asm/irq.h | 1 -
> arch/powerpc/kernel/irq.c | 6 ------
> 2 files changed, 0 insertions(+), 7 deletions(-)
>
> diff --git a/arch/powerpc/include/asm/irq.h b/arch/powerpc/include/asm/irq.h
> index a65d170..1bff591 100644
> --- a/arch/powerpc/include/asm/irq.h
> +++ b/arch/powerpc/include/asm/irq.h
> @@ -129,7 +129,6 @@ struct irq_data;
> extern irq_hw_number_t irqd_to_hwirq(struct irq_data *d);
> extern irq_hw_number_t virq_to_hw(unsigned int virq);
> extern bool virq_is_host(unsigned int virq, struct irq_host *host);
> -extern struct irq_host *virq_to_host(unsigned int virq);
>
> /**
> * irq_alloc_host - Allocate a new irq_host data structure
> diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
> index 73cf290..4368b5e 100644
> --- a/arch/powerpc/kernel/irq.c
> +++ b/arch/powerpc/kernel/irq.c
> @@ -516,12 +516,6 @@ bool virq_is_host(unsigned int virq, struct irq_host *host)
> }
> EXPORT_SYMBOL_GPL(virq_is_host);
>
> -struct irq_host *virq_to_host(unsigned int virq)
> -{
> - return irq_map[virq].host;
> -}
> -EXPORT_SYMBOL_GPL(virq_to_host);
> -
> static int default_irq_host_match(struct irq_host *h, struct device_node *np)
> {
> return h->of_node != NULL && h->of_node == np;
> --
> 1.7.0.4
>
>
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
More information about the Linuxppc-dev
mailing list