File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ static int __init amd_uncore_init(void)
555555 ret = 0 ;
556556 }
557557
558- if (boot_cpu_has (X86_FEATURE_PERFCTR_L2 )) {
558+ if (boot_cpu_has (X86_FEATURE_PERFCTR_LLC )) {
559559 amd_uncore_llc = alloc_percpu (struct amd_uncore * );
560560 if (!amd_uncore_llc ) {
561561 ret = - ENOMEM ;
Original file line number Diff line number Diff line change 177177#define X86_FEATURE_PERFCTR_NB ( 6*32+24) /* NB performance counter extensions */
178178#define X86_FEATURE_BPEXT (6*32+26) /* data breakpoint extension */
179179#define X86_FEATURE_PTSC ( 6*32+27) /* performance time-stamp counter */
180- #define X86_FEATURE_PERFCTR_L2 ( 6*32+28) /* L2 performance counter extensions */
180+ #define X86_FEATURE_PERFCTR_LLC ( 6*32+28) /* Last Level Cache performance counter extensions */
181181#define X86_FEATURE_MWAITX ( 6*32+29) /* MWAIT extension (MONITORX/MWAITX) */
182182
183183/*
You can’t perform that action at this time.
0 commit comments