percpu: Optimize __get_cpu_var()
authorBrian Gerst <brgerst@gmail.com>
Thu, 9 Sep 2010 16:17:26 +0000 (18:17 +0200)
committerTejun Heo <tj@kernel.org>
Fri, 10 Sep 2010 08:56:51 +0000 (10:56 +0200)
commit677243d7494d09bfa782425f063a6013de53c35b
tree5126d575a6097d0038a893119d05057a22bf03e6
parentdb7829c6cc32f3c0c9a324118d743acb1abff081
percpu: Optimize __get_cpu_var()

Redefine __get_cpu_var() using this_cpu_ptr() which can be
arch-optimized.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/asm-generic/percpu.h