Skip to content
Commit 677243d7 authored by Brian Gerst's avatar Brian Gerst Committed by Tejun Heo
Browse files

percpu: Optimize __get_cpu_var()



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

Signed-off-by: default avatarBrian Gerst <brgerst@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent db7829c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment