aboutsummaryrefslogtreecommitdiff
path: root/lib/kernel_lock.c
diff options
context:
space:
mode:
authorLi Zefan <[email protected]>2009-06-01 15:35:13 +0800
committerSteven Rostedt <[email protected]>2009-06-01 23:24:53 -0400
commita9c1c3abe1160a5632e48c929b02b740556bf423 (patch)
tree07d2313c9b8c637e6532e61efe034dba5a697231 /lib/kernel_lock.c
parent6e25db44a7ad7eb380f4ec774ec00a8fcddea112 (diff)
tracing/events: put TP_fast_assign into braces
Currently TP_fast_assign has a limitation that we can't define local variables in it. Here's one use case when we introduce __dynamic_array(): TP_fast_assign( type *p = __get_dynamic_array(item); foo(p); bar(p); ), [ Impact: allow defining local variables in TP_fast_assign ] Signed-off-by: Li Zefan <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/kernel_lock.c')
0 files changed, 0 insertions, 0 deletions