Re: [patch 16/19] alpha: titan: Convert irq_chip functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 6, 2011 at 2:32 PM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---
>  arch/alpha/kernel/sys_titan.c |   19 ++++++++++---------
>  1 file changed, 10 insertions(+), 9 deletions(-)
>
> Index: linux-next/arch/alpha/kernel/sys_titan.c
> ===================================================================
> --- linux-next.orig/arch/alpha/kernel/sys_titan.c
> +++ linux-next/arch/alpha/kernel/sys_titan.c
> @@ -112,7 +112,7 @@ titan_update_irq_hw(unsigned long mask)
>  }
>
>  static inline void
> -titan_enable_irq(unsigned int irq)
> +titan_enable_irq(struct irq_data *d)
>  {
>        spin_lock(&titan_irq_lock);
>        titan_cached_irq_mask |= 1UL << (irq - 16);
> @@ -121,7 +121,7 @@ titan_enable_irq(unsigned int irq)
>  }
>
>  static inline void
> -titan_disable_irq(unsigned int irq)
> +titan_disable_irq(struct irq_data *d)
>  {
>        spin_lock(&titan_irq_lock);
>        titan_cached_irq_mask &= ~(1UL << (irq - 16));

These hunks are missing a
+       unsigned int irq = d->irq;

I can fix that up myself though.
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux