Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Mathieu Desnoyers and committed by
Ingo Molnar
231375cc f2461fc8

+4 -1
+4 -1
include/linux/tracepoint.h
··· 129 129 * probe unregistration and the end of module exit to make sure there is no 130 130 * caller executing a probe when it is freed. 131 131 */ 132 - #define tracepoint_synchronize_unregister() synchronize_sched() 132 + static inline void tracepoint_synchronize_unregister(void) 133 + { 134 + synchronize_sched(); 135 + } 133 136 134 137 #endif