linux-mips
[Top] [All Lists]

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

To: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Subject: Re: [PATCH 1/1] [MIPS] ip22: use a generic method for irq statistics
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 27 Mar 2009 16:30:21 +0100
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
In-reply-to: <1238153951-18307-1-git-send-email-dmitri.vorobiev@movial.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1238153951-18307-1-git-send-email-dmitri.vorobiev@movial.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
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

<Prev in Thread] Current Thread [Next in Thread>