sparc64: Add 'reg_num' argument to pcr_ops methods.
authorDavid S. Miller <davem@davemloft.net>
Fri, 17 Aug 2012 04:16:22 +0000 (21:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Aug 2012 06:04:08 +0000 (23:04 -0700)
commit0bab20ba4c95f56355c24a0b9f03eb486c2a267d
tree906d0ca27a6c62ea01b55e24f7a4c3a7e76a723e
parent8c79bfa51101354853f0f5d3b02435cec429da51
sparc64: Add 'reg_num' argument to pcr_ops methods.

SPARC-T4 and later have multiple PCR registers, one for each
PIC counter.

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