diff options
author | Jan Blunck <jblunck@suse.de> | 2006-09-26 08:30:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 17:48:44 +0200 |
commit | 632bbfeee4f042c05bc65150b4433a297d3fe387 (patch) | |
tree | ce67b5fa4bec38610fc0ecb9b20be6aa69763bb3 /net/compat.c | |
parent | [PATCH] Fix longstanding load balancing bug in the scheduler (diff) | |
download | linux-632bbfeee4f042c05bc65150b4433a297d3fe387.tar.xz linux-632bbfeee4f042c05bc65150b4433a297d3fe387.zip |
[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 <jblunck@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions