From: Tejun Heo Date: Thu, 29 Oct 2009 13:34:15 +0000 (+0900) Subject: percpu: make access macros universal X-Git-Tag: v2.6.34-rc1~223^2~16 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7b64fe806029e0a0454df132eec3c5ab576102c;p=pandora-kernel.git 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: Tejun Heo --- Reading git-diff-tree failed