tracing: Replace __get_cpu_var uses with this_cpu_ptr
[deliverable/linux.git] / include / linux / kprobes.h
index 925eaf28fca9ccf3a38e6360eca752eb2cab857d..7bd2ad01e39c625ec4da93f095763b31a38b1f34 100644 (file)
@@ -355,7 +355,7 @@ static inline void reset_current_kprobe(void)
 
 static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void)
 {
-       return (&__get_cpu_var(kprobe_ctlblk));
+       return this_cpu_ptr(&kprobe_ctlblk);
 }
 
 int register_kprobe(struct kprobe *p);
This page took 0.047584 seconds and 5 git commands to generate.