diff options
| author | Jan Blunck <[email protected]> | 2006-09-26 06:30:53 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-09-26 15:48:44 +0000 |
| commit | 632bbfeee4f042c05bc65150b4433a297d3fe387 (patch) | |
| tree | ce67b5fa4bec38610fc0ecb9b20be6aa69763bb3 /fs/jbd/commit.c | |
| parent | [PATCH] Fix longstanding load balancing bug in the scheduler (diff) | |
| download | kernel-632bbfeee4f042c05bc65150b4433a297d3fe387.tar.gz kernel-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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
