]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
tracepoints: synchronize unregister static inline
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 3 Oct 2008 19:01:33 +0000 (15:01 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:39:31 +0000 (10:39 +0200)
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>
include/linux/tracepoint.h

index 199f4c207c1ec425019336775809dfbae16509f7..c5bb39c7a7703cdb7db04faf0e2b0ce2086aa19d 100644 (file)
@@ -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