All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] tracepoint: add __rcu annotation
@ 2011-01-04  8:06 Lai Jiangshan
  2011-01-05 13:57 ` Mathieu Desnoyers
  2011-01-09 21:11 ` [tip:perf/urgent] tracepoint: Add " tip-bot for Lai Jiangshan
  0 siblings, 2 replies; 3+ messages in thread
From: Lai Jiangshan @ 2011-01-04  8:06 UTC (permalink / raw)
  To: Mathieu Desnoyers, Steven Rostedt, Paul E. McKenney,
	Arnd Bergmann, LKML

Add __rcu annotation to :
	(struct tracepoint)->funcs

signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
---
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index d3e4f87..e0e400d 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-09 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04  8:06 [PATCH 2/3] tracepoint: add __rcu annotation Lai Jiangshan
2011-01-05 13:57 ` Mathieu Desnoyers
2011-01-09 21:11 ` [tip:perf/urgent] tracepoint: Add " tip-bot for Lai Jiangshan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.