ARC: perf: cap the number of counters to hardware max of 32
authorVineet Gupta <vgupta@synopsys.com>
Mon, 24 Aug 2015 10:37:01 +0000 (13:37 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 27 Aug 2015 09:27:03 +0000 (14:57 +0530)
commitfb7c57255168d34ae34300bcf78f50aebdeae4dc
tree63443ab2b39ad17755e4625f805ae26ce018a364
parentfd0881a24ac9ab2be6c052d30ca779597c0bd3bc
ARC: perf: cap the number of counters to hardware max of 32

The number of counters in PCT can never be more than 32 (while
countable conditions could be 100+) for both ARCompact and ARCv2

And while at it update copyright dates.

Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/perf_event.h
arch/arc/kernel/perf_event.c