Skip to content
Commit f7b64fe8 authored by Tejun Heo's avatar Tejun Heo
Browse files

percpu: make access macros universal



Now that per_cpu__ prefix is gone, there's no distinction between
static and dynamic percpu variables.  Make get_cpu_var() take dynamic
percpu variables and ensure that all macros have parentheses around
the parameter evaluation and evaluate the variable parameter only once
such that any expression which evaluates to percpu address can be used
safely.

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