File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 22
22
#include <asm/insn.h>
23
23
#include <asm/io.h>
24
24
#include <asm/intel_pt.h>
25
- #include <asm/intel-family .h>
25
+ #include <asm/cpu_device_id .h>
26
26
27
27
#include "../perf_event.h"
28
28
#include "pt.h"
@@ -211,11 +211,11 @@ static int __init pt_pmu_hw_init(void)
211
211
}
212
212
213
213
/* model-specific quirks */
214
- switch (boot_cpu_data .x86_model ) {
215
- case INTEL_FAM6_BROADWELL :
216
- case INTEL_FAM6_BROADWELL_D :
217
- case INTEL_FAM6_BROADWELL_G :
218
- case INTEL_FAM6_BROADWELL_X :
214
+ switch (boot_cpu_data .x86_vfm ) {
215
+ case INTEL_BROADWELL :
216
+ case INTEL_BROADWELL_D :
217
+ case INTEL_BROADWELL_G :
218
+ case INTEL_BROADWELL_X :
219
219
/* not setting BRANCH_EN will #GP, erratum BDM106 */
220
220
pt_pmu .branch_en_always_on = true;
221
221
break ;
You can’t perform that action at this time.
0 commit comments