this_cpu: Use this_cpu_xx for ftrace
authorChristoph Lameter <cl@linux-foundation.org>
Wed, 7 Oct 2009 23:17:45 +0000 (19:17 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 12 Oct 2009 10:51:49 +0000 (19:51 +0900)
commit9288f99aa52d90a5b82573c4b769c97c55af2f56
tree34d484799f1d779d7244e373be7cd5d7d2e684af
parent494f6a9e12f5137d355d3ce3f5789ef148b642bc
this_cpu: Use this_cpu_xx for ftrace

this_cpu_xx can reduce the instruction count here and also
avoid address arithmetic.

Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/trace/trace.c
kernel/trace/trace.h