summaryrefslogtreecommitdiffstats
path: root/include/linux/tracepoint.h
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2011-01-04 16:06:09 +0800
committerSteven Rostedt <rostedt@goodmis.org>2011-01-07 20:57:22 -0500
commitbd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f (patch)
treefcfceb5c70b2b6da02ccb5c1a08dc31268db2b7c /include/linux/tracepoint.h
parent881fe4bdcdc899674524e30a76c76d298b447008 (diff)
downloadlinux-bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f.tar.gz
linux-bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f.tar.bz2
linux-bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f.zip
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>
Diffstat (limited to 'include/linux/tracepoint.h')
-rw-r--r--include/linux/tracepoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index 899103c8f6f2..c6814616653b 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