sparc64: Use NMI oprofile profiling on cheetah and derivative cpus.
authorDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 06:29:24 +0000 (22:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 17:17:05 +0000 (09:17 -0800)
commit422e23ea0865177b61527874b1b80023e4215d67
treecd65ad354083699b60ebcec2b27e147a0081a123
parent456cad8e4e1754672e6df1e716cff1482ea124ce
sparc64: Use NMI oprofile profiling on cheetah and derivative cpus.

We use clock cycle counter, adjusted to HZ.

This can be extended to sun4v based processors as well, as they
also have a proper overflow interrupt facility for the performance
counters.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/oprofile/init.c