提交 231375cc 编写于 作者: M Mathieu Desnoyers 提交者: Ingo Molnar

tracepoints: synchronize unregister static inline

Turn tracepoint synchronize unregister into a static inline. There is no
reason to keep it as a macro over a static inline.
Signed-off-by: NMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 f2461fc8
...@@ -129,6 +129,9 @@ extern int tracepoint_get_iter_range(struct tracepoint **tracepoint, ...@@ -129,6 +129,9 @@ extern int tracepoint_get_iter_range(struct tracepoint **tracepoint,
* probe unregistration and the end of module exit to make sure there is no * probe unregistration and the end of module exit to make sure there is no
* caller executing a probe when it is freed. * caller executing a probe when it is freed.
*/ */
#define tracepoint_synchronize_unregister() synchronize_sched() static inline void tracepoint_synchronize_unregister(void)
{
synchronize_sched();
}
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册