Turn marker 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/types.h>
+#include <linux/rcupdate.h>
struct module;
struct marker;
* unregistration and the end of module exit to make sure there is no caller
* executing a probe when it is freed.
*/
-#define marker_synchronize_unregister() synchronize_sched()
+static inline void marker_synchronize_unregister(void)
+{
+ synchronize_sched();
+}
#endif