]> git.baikalelectronics.ru Git - kernel.git/commit
arm: perf: xscale: condense event maps
authorMark Rutland <mark.rutland@arm.com>
Fri, 30 May 2014 17:00:06 +0000 (18:00 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 2 Jul 2014 14:48:22 +0000 (15:48 +0100)
commitc70e6760fced384f725f936b1ff4f583df4e40e9
treecbb65d538390be551d64640ca74dd0f373ccfe07
parent4c64f6f42206aef25407bd4c417f37956fc52e5a
arm: perf: xscale: condense event maps

Now that we have macros for declaring fully invalid event maps, put them
to work for the XScale PMU event maps. While this necessitates repeating
common indices, we no longer need to refer to *_UNSUPPORTED events at
all, and it makes it possible for the even maps to fit on a single page
on a reasonably sized monitor.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_xscale.c