diff options
author | Brian Gerst <brgerst@gmail.com> | 2010-09-09 18:17:26 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-09-10 10:56:51 +0200 |
commit | 677243d7494d09bfa782425f063a6013de53c35b (patch) | |
tree | 5126d575a6097d0038a893119d05057a22bf03e6 /mm/percpu.c | |
parent | db7829c6cc32f3c0c9a324118d743acb1abff081 (diff) | |
download | lwn-677243d7494d09bfa782425f063a6013de53c35b.tar.gz lwn-677243d7494d09bfa782425f063a6013de53c35b.zip |
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>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions