From: Jan Blunck Date: Tue, 26 Sep 2006 06:30:53 +0000 (-0700) Subject: [PATCH] trigger a syntax error if percpu macros are incorrectly used X-Git-Tag: v2.6.19-rc1~1229 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=632bbfeee4f042c05bc65150b4433a297d3fe387;p=pandora-kernel.git [PATCH] trigger a syntax error if percpu macros are incorrectly used get_cpu_var()/per_cpu()/__get_cpu_var() arguments must be simple identifiers. Otherwise the arch dependent implementations might break. This patch enforces the correct usage of the macros by producing a syntax error if the variable is not a simple identifier. Signed-off-by: Jan Blunck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed