sparc64: Fully support both performance counters.
authorDavid S. Miller <davem@davemloft.net>
Wed, 20 Jan 2010 10:59:47 +0000 (02:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jan 2010 00:23:03 +0000 (16:23 -0800)
commite7bef6b04ca2e8e4cf667c43d7e2ab3034a869d5
treeb21d045e0b97f6e3f68a97e992e92432b3f91c2f
parent4f6dbe4ac01d2664231d3f3eceadd33a44cde993
sparc64: Fully support both performance counters.

Add the rest of the conflict detection and resolution logic necessary
to support more than one counter at a time on sparc64.

The structure and implementation closely mimicks that of powerpc.

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