perf/arm: Fix armpmu_map_hw_event()
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 7 Aug 2013 23:18:08 +0000 (16:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Aug 2013 15:43:02 +0000 (08:43 -0700)
commitb6664dfcf0573495cdea96d2dd37b7d30290ae25
tree1aa7e876710674d553eccacf7121c8dc0fabc0cb
parent78de90f9f3cbbd93d467cae8ded64f33a159dfe1
perf/arm: Fix armpmu_map_hw_event()

commit b88a2595b6d8aedbd275c07dfa784657b4f757eb upstream.

Fix constraint check in armpmu_map_hw_event().

Reported-and-tested-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/kernel/perf_event.c