Re: [PATCH 1/1] [MIPS] ip22: use a generic method for irqstatistics

From: Ralf Baechle
Date: Fri Mar 27 2009 - 11:30:55 EST


On Fri, Mar 27, 2009 at 01:39:11PM +0200, Dmitri Vorobiev wrote:

> The structure 'struct kernel_stat' defines the 'irqs' array as its
> field only when CONFIG_GENERIC_HARDIRQS is not set. However, the ip22
> code makes use of this field unconditionally. As the result, the
> following build error is produced:
>
> CC arch/mips/sgi-ip22/ip22-int.o
> arch/mips/sgi-ip22/ip22-int.c: In function 'indy_buserror_irq':
> arch/mips/sgi-ip22/ip22-int.c:158: error: 'struct kernel_stat' has no
> member named 'irqs'
> make[1]: *** [arch/mips/sgi-ip22/ip22-int.o] Error 1
> make: *** [arch/mips/sgi-ip22] Error 2
>
> This patch fixes the build error by using the generic method for the irq
> statistics.

Applied, thanks!

Ralf
--
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/