Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116641
b: refs/heads/master
c: 53c8c8f
h: refs/heads/master
i:
  116639: e9579ac
v: v3
  • Loading branch information
Mathieu Desnoyers authored and Ingo Molnar committed Oct 14, 2008
1 parent 8468df4 commit 9bcab1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed86a59071a4ccd0e9bcefc61e013759a21eda78
refs/heads/master: 53c8c8fdfd2d2d515bdcb3d0f2a11d1f3f42ece1
6 changes: 5 additions & 1 deletion trunk/include/linux/marker.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
*/

#include <linux/types.h>
#include <linux/rcupdate.h>

struct module;
struct marker;
Expand Down Expand Up @@ -165,6 +166,9 @@ extern void *marker_get_private_data(const char *name, marker_probe_func *probe,
* 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

0 comments on commit 9bcab1b

Please sign in to comment.