--- zzzz-none-000/linux-3.10.107/arch/avr32/kernel/kprobes.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/avr32/kernel/kprobes.c 2021-02-04 17:41:59.000000000 +0000 @@ -104,7 +104,7 @@ static void __kprobes set_current_kprobe(struct kprobe *p) { - __get_cpu_var(current_kprobe) = p; + __this_cpu_write(current_kprobe, p); } static int __kprobes kprobe_handler(struct pt_regs *regs)