summaryrefslogtreecommitdiffstats
path: root/arch/x86/events/intel/knc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/events/intel/knc.c')
-rw-r--r--arch/x86/events/intel/knc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/events/intel/knc.c b/arch/x86/events/intel/knc.c
index 618001c208..034a1f6a45 100644
--- a/arch/x86/events/intel/knc.c
+++ b/arch/x86/events/intel/knc.c
@@ -303,7 +303,7 @@ static const struct x86_pmu knc_pmu __initconst = {
.apic = 1,
.max_period = (1ULL << 39) - 1,
.version = 0,
- .num_counters = 2,
+ .cntr_mask64 = 0x3,
.cntval_bits = 40,
.cntval_mask = (1ULL << 40) - 1,
.get_event_constraints = x86_get_event_constraints,