Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 231375cc authored by Mathieu Desnoyers's avatar Mathieu Desnoyers Committed by Ingo Molnar
Browse files

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: default avatarMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f2461fc8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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
 * caller executing a probe when it is freed.
 */
#define tracepoint_synchronize_unregister() synchronize_sched()
static inline void tracepoint_synchronize_unregister(void)
{
	synchronize_sched();
}

#endif