• Tejun Heo's avatar
    percpu: make access macros universal · f7b64fe8
    Tejun Heo authored
    
    
    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>
    f7b64fe8
percpu.h 19.3 KB