OSDN Git Service

tracing: Replace __get_cpu_var uses with this_cpu_ptr
authorChristoph Lameter <cl@linux.com>
Tue, 29 Apr 2014 19:17:40 +0000 (14:17 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 6 May 2014 02:40:53 +0000 (22:40 -0400)
commitbdffd893a0e9c431304142d12d9a0a21d365c502
tree5a82bd6f7835f8d8da561638f5d92b9a85e6eb3c
parent3415c28c6aec1ae66b5907479e508409eb101f5a
tracing: Replace __get_cpu_var uses with this_cpu_ptr

Replace uses of &__get_cpu_var for address calculation with this_cpu_ptr.

Link: http://lkml.kernel.org/p/alpine.DEB.2.10.1404291415560.18364@gentwo.org
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/kprobes.h
kernel/trace/ftrace.c
kernel/trace/trace.c