perf_events, x86: Fix event constraint masks
commited8777fc132e589d48a0ba854fdbb5d8203b58e5
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 27 Jan 2010 22:07:46 +0000 (27 23:07 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Jan 2010 08:01:46 +0000 (29 09:01 +0100)
tree34aea92bf0bfa98048743a91d2f96cae9fb6b3e2
parent2e8418736dff9c6fdadb2f87dcc2087cebf32167
perf_events, x86: Fix event constraint masks

Since constraints are specified on the event number, not number
and unit mask shorten the constraint masks so that we'll
actually match something.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <20100127221121.967610372@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/perf_event.h
arch/x86/kernel/cpu/perf_event.c