sparc64: Use a seperate counter for timer interrupts and NMI checks, like x86.
authorDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2010 00:38:52 +0000 (17:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 05:37:07 +0000 (22:37 -0700)
commitdaecbf58a509bc27c112647e825df763c3e3b0f4
tree871f5dd9e18ff2f4c4ff88a004527a5b0e974f51
parentf8e8a8e8cba3359df2a16c17d59eedb08adf3b43
sparc64: Use a seperate counter for timer interrupts and NMI checks, like x86.

This keeps us from having to use kstat_irqs_cpu() from the NMI handler,
the former of which is a profiled function.

Instead we use a currently empty slot in the cpu_data

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/cpudata_64.h
arch/sparc/kernel/nmi.c
arch/sparc/kernel/time_64.c