tracepoint: Add __rcu annotation
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 4 Jan 2011 08:06:09 +0000 (16:06 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 8 Jan 2011 01:57:22 +0000 (20:57 -0500)
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>
include/linux/tracepoint.h

index 899103c8f6f297e11dca1357e4a0e1a5482abdfc..c6814616653b1ff4d385b8b4148c4b2b14847e31 100644 (file)
@@ -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