From: Lai Jiangshan Date: Tue, 4 Jan 2011 08:06:09 +0000 (+0800) Subject: tracepoint: Add __rcu annotation X-Git-Tag: MMI-PSA29.97-13-9~20972^2~18^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git tracepoint: Add __rcu annotation Add __rcu annotation to : (struct tracepoint)->funcs Acked-by: Mathieu Desnoyers Signed-off-by: Lai Jiangshan LKML-Reference: <4D22D4F1.50505@cn.fujitsu.com> Signed-off-by: Steven Rostedt --- 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