irq: update all arches for new irq_desc, fix
authorMike Travis <travis@sgi.com>
Wed, 14 Jan 2009 23:43:54 +0000 (15:43 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Jan 2009 10:15:36 +0000 (11:15 +0100)
commitd2287f5ebea9ff2487d614719775f0b03fce15f6
tree20659ab7806c9dd247d9789c53c34e38fb38e4b6
parente46d51787e23a607cac5f593ac9926743a636dff
irq: update all arches for new irq_desc, fix

Impact: fix build errors

Since the SPARSE IRQS changes redefined how the kstat irqs are
organized, arch's must use the new accessor function:

kstat_incr_irqs_this_cpu(irq, DESC);

If CONFIG_SPARSE_IRQS is set, then DESC is a pointer to the
irq_desc which has a pointer to the kstat_irqs.  If not, then
the .irqs field of struct kernel_stat is used instead.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/ia64/kernel/irq_ia64.c
arch/mips/kernel/smtc.c
arch/mips/sgi-ip22/ip22-int.c
arch/mips/sgi-ip22/ip22-time.c
arch/mips/sibyte/bcm1480/smp.c
arch/mips/sibyte/sb1250/smp.c
arch/mn10300/kernel/mn10300-watchdog.c
arch/sparc/kernel/time_64.c