[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f@git.kernel.org>
Date: Sun, 9 Jan 2011 21:11:11 GMT
From: tip-bot for Lai Jiangshan <laijs@...fujitsu.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
mathieu.desnoyers@...icios.com, rostedt@...dmis.org,
tglx@...utronix.de, laijs@...fujitsu.com
Subject: [tip:perf/urgent] tracepoint: Add __rcu annotation
Commit-ID: bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f
Gitweb: http://git.kernel.org/tip/bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f
Author: Lai Jiangshan <laijs@...fujitsu.com>
AuthorDate: Tue, 4 Jan 2011 16:06:09 +0800
Committer: Steven Rostedt <rostedt@...dmis.org>
CommitDate: Fri, 7 Jan 2011 20:57:22 -0500
tracepoint: Add __rcu annotation
Add __rcu annotation to :
(struct tracepoint)->funcs
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Signed-off-by: Lai Jiangshan <laijs@...fujitsu.com>
LKML-Reference: <4D22D4F1.50505@...fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists