[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mips-cvs
Subject: MIPS: Sibyte, SMTC: Use generic method for irq statistics
From: linux-mips () linux-mips ! org
Date: 2009-03-28 18:29:15
Message-ID: S20029379AbZC1S3T/20090328182919Z+3043731 () ftp ! linux-mips ! org
[Download RAW message or body]
Author: Ralf Baechle <ralf@linux-mips.org> Sat Mar 28 18:35:41 2009 +0100
Commit: fb33d3080626f100fe0a3447c497047789ee7f07
Gitweb: http://www.linux-mips.org/g/linux/fb33d308
Branch: master
The structure 'struct kernel_stat' defines the 'irqs' array as its field
only when CONFIG_GENERIC_HARDIRQS is not set. MIPS however sets
GENERIC_HARDIRQS for all platforms. As the result, the following build
error is produced:
CC arch/mips/sibyte/bcm1480/smp.o
/home/ralf/src/linux/linux-queue/arch/mips/sibyte/bcm1480/smp.c: In function
‘bcm1480_mailbox_interrupt':
/home/ralf/src/linux/linux-queue/arch/mips/sibyte/bcm1480/smp.c:183: error:
‘struct kernel_stat' has no member named ‘irqs'
Similar for the other files modified by this patch. This patch fixes the
build error by using the generic method for the irq statistics.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
arch/mips/kernel/smtc.c | 4 +++-
arch/mips/sibyte/bcm1480/smp.c | 3 ++-
arch/mips/sibyte/sb1250/smp.c | 3 ++-
3 files changed, 7 insertions(+), 3 deletions(-)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic