From: Christoph Lameter Date: Sun, 17 Aug 2014 17:30:53 +0000 (-0500) Subject: avr32: Replace __get_cpu_var with __this_cpu_write X-Git-Tag: v4.14-rc1~6645^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c23af6122e56ad30e3de259731c31a998ff5b11;p=platform%2Fkernel%2Flinux-rpi.git avr32: Replace __get_cpu_var with __this_cpu_write Replace the single use of __get_cpu_var in avr32 with __this_cpu_write. Cc: Haavard Skinnemoen Acked-by: Hans-Christian Egtvedt Signed-off-by: Christoph Lameter Signed-off-by: Tejun Heo --- diff --git a/arch/avr32/kernel/kprobes.c b/arch/avr32/kernel/kprobes.c index f820e9f..a94ece4 100644 --- a/arch/avr32/kernel/kprobes.c +++ b/arch/avr32/kernel/kprobes.c @@ -104,7 +104,7 @@ static void __kprobes resume_execution(struct kprobe *p, struct pt_regs *regs) 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)