summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/intel_ds.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/intel_ds.h')
-rw-r--r--arch/x86/include/asm/intel_ds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/intel_ds.h b/arch/x86/include/asm/intel_ds.h
index 2f9eeb5c30..5dbeac48a5 100644
--- a/arch/x86/include/asm/intel_ds.h
+++ b/arch/x86/include/asm/intel_ds.h
@@ -9,6 +9,7 @@
/* The maximal number of PEBS events: */
#define MAX_PEBS_EVENTS_FMT4 8
#define MAX_PEBS_EVENTS 32
+#define MAX_PEBS_EVENTS_MASK GENMASK_ULL(MAX_PEBS_EVENTS - 1, 0)
#define MAX_FIXED_PEBS_EVENTS 16
/*