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)
commitf929f5759f7e4dded314c23ad2b3b8abb5f35c4f
treecbb65d538390be551d64640ca74dd0f373ccfe07
parentcf20ae8cfcb3ab4013b7766abe22d251c99fee15
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