aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2014-08-17 13:30:53 -0400
committerTejun Heo <tj@kernel.org>2014-08-26 13:45:55 -0400
commit8c23af6122e56ad30e3de259731c31a998ff5b11 (patch)
tree251524504078e6e169ce7274ca7db58cb4500789 /arch/avr32
parent7e788ab11d73fbb617973c12a9b3f84f93721e67 (diff)
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 <hskinnemoen@gmail.com> Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/avr32')
-rw-r--r--arch/avr32/kernel/kprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/kernel/kprobes.c b/arch/avr32/kernel/kprobes.c
index f820e9f25520..a94ece4a72c8 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)
104 104
105static void __kprobes set_current_kprobe(struct kprobe *p) 105static void __kprobes set_current_kprobe(struct kprobe *p)
106{ 106{
107 __get_cpu_var(current_kprobe) = p; 107 __this_cpu_write(current_kprobe, p);
108} 108}
109 109
110static int __kprobes kprobe_handler(struct pt_regs *regs) 110static int __kprobes kprobe_handler(struct pt_regs *regs)