sparc64: Fix build by using kstat_irqs_cpu()
commite81838d2555e77c893f720c25bfb0c0e5782ef57
authorDavid Miller <davem@davemloft.net>
Thu, 22 Jan 2009 01:15:53 +0000 (21 17:15 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 22 Jan 2009 08:07:36 +0000 (22 09:07 +0100)
tree6851a81fbe441a344c4e34a2775dd9fcb4de0964
parent623d3f0c619f3576dae69709ca8aa93ac76d8c63
sparc64: Fix build by using kstat_irqs_cpu()

Changeset d7e51e66899f95dabc89b4d4c6674a6e50fa37fc ("sparseirq: make
some func to be used with genirq") broke the build on sparc64:

arch/sparc/kernel/irq_64.c: In function ‘show_interrupts’:
arch/sparc/kernel/irq_64.c:188: error: ‘struct kernel_stat’ has no member named ‘irqs’
make[1]: *** [arch/sparc/kernel/irq_64.o] Error 1

Fix by using the kstat_irqs_cpu() interface.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/sparc/kernel/irq_64.c