--- zzzz-none-000/linux-3.10.107/arch/x86/include/asm/perf_event_p4.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/x86/include/asm/perf_event_p4.h 2021-02-04 17:41:59.000000000 +0000 @@ -189,7 +189,7 @@ { #ifdef CONFIG_SMP if (smp_num_siblings == 2) - return cpu != cpumask_first(__get_cpu_var(cpu_sibling_map)); + return cpu != cpumask_first(this_cpu_cpumask_var_ptr(cpu_sibling_map)); #endif return 0; }