perf_events, x86: Fix event constraint masks
[linux-2.6.git] / arch / x86 / include / asm / perf_event.h
index dbc0826..ff5ede1 100644 (file)
@@ -49,7 +49,7 @@
         INTEL_ARCH_INV_MASK| \
         INTEL_ARCH_EDGE_MASK|\
         INTEL_ARCH_UNIT_MASK|\
-        INTEL_ARCH_EVENT_MASK)
+        INTEL_ARCH_EVTSEL_MASK)
 
 #define ARCH_PERFMON_UNHALTED_CORE_CYCLES_SEL                0x3c
 #define ARCH_PERFMON_UNHALTED_CORE_CYCLES_UMASK                (0x00 << 8)