arm64: perf: fix event number mask
authorVinayak Kale <vkale@apm.com>
Fri, 18 Oct 2013 12:59:06 +0000 (13:59 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Oct 2013 15:23:52 +0000 (16:23 +0100)
commitc019de3de61387d224ba4738e3d196aa24c88844
treea689e027f22cbae45101c15a69622fa431fe2313
parenta872013d6d03ab63736a01dcd9747580be3a6b70
arm64: perf: fix event number mask

This patch fixes ARMV8_EVTYPE_* macros since evtCount (event number)
field width is 10bits in event selection register.

Signed-off-by: Vinayak Kale <vkale@apm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/perf_event.c