Commit bd1c8b22 authored by Lai Jiangshan's avatar Lai Jiangshan Committed by Steven Rostedt

tracepoint: Add __rcu annotation

Add __rcu annotation to :
	(struct tracepoint)->funcs
Acked-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: default avatarLai Jiangshan <laijs@cn.fujitsu.com>
LKML-Reference: <4D22D4F1.50505@cn.fujitsu.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 881fe4bd
...@@ -32,7 +32,7 @@ struct tracepoint { ...@@ -32,7 +32,7 @@ struct tracepoint {
int state; /* State. */ int state; /* State. */
void (*regfunc)(void); void (*regfunc)(void);
void (*unregfunc)(void); void (*unregfunc)(void);
struct tracepoint_func *funcs; struct tracepoint_func __rcu *funcs;
} __attribute__((aligned(32))); /* } __attribute__((aligned(32))); /*
* Aligned on 32 bytes because it is * Aligned on 32 bytes because it is
* globally visible and gcc happily * globally visible and gcc happily
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment