diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2011-01-04 16:06:09 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-01-07 20:57:22 -0500 |
commit | bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f (patch) | |
tree | fcfceb5c70b2b6da02ccb5c1a08dc31268db2b7c | |
parent | 881fe4bdcdc899674524e30a76c76d298b447008 (diff) | |
download | op-kernel-dev-bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f.zip op-kernel-dev-bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f.tar.gz |
tracepoint: Add __rcu annotation
Add __rcu annotation to :
(struct tracepoint)->funcs
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
LKML-Reference: <4D22D4F1.50505@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | include/linux/tracepoint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index 899103c..c681461 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h @@ -32,7 +32,7 @@ struct tracepoint { int state; /* State. */ void (*regfunc)(void); void (*unregfunc)(void); - struct tracepoint_func *funcs; + struct tracepoint_func __rcu *funcs; } __attribute__((aligned(32))); /* * Aligned on 32 bytes because it is * globally visible and gcc happily |