--- zzzz-none-000/linux-3.10.107/arch/x86/oprofile/op_model_p4.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/x86/oprofile/op_model_p4.c 2021-02-04 17:41:59.000000000 +0000 @@ -372,7 +372,7 @@ { #ifdef CONFIG_SMP int cpu = smp_processor_id(); - 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; }