]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: don't convert function's local variable name in macro
authorZhaolei <zhaolei@cn.fujitsu.com>
Wed, 27 May 2009 13:36:02 +0000 (21:36 +0800)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 27 May 2009 23:22:06 +0000 (01:22 +0200)
commitbc0cdb2f0c541419df178a36db30f870f063dbb2
treee9a873c81bb4105d10a04d925f15e53e9ad1ac0c
parent19c5821a21b73a71e48de589832a205106397ea4
ftrace: don't convert function's local variable name in macro

"call" is an argument of macro, but it is also used as a local
variable name of function in macro.
We should keep this local variable name distinct from any
CPP macro parameter name if both are in the same macro scope,
although it hasn't caused any problem yet.

[ Impact: robustify macro ]

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/trace/ftrace.h