ARM: perf: use integers for ARMv7 event indices
commit25e29c7c0f4fcbe911b77a69f015bd6424cedcd0
authorWill Deacon <will.deacon@arm.com>
Tue, 19 Jul 2011 21:17:48 +0000 (19 22:17 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 31 Aug 2011 09:18:00 +0000 (31 10:18 +0100)
tree5055018f21809859c9f008ac586507e83fdb34bb
parent6330aae7dcd54df893813392e310141be7aa5323
ARM: perf: use integers for ARMv7 event indices

This patch ensures that integers are used to represent event indices in
the ARMv7 PMU backend. This ensures consistency between functions and
also with the arm_pmu structure.

Acked-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_v7.c