projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash: default mm type
[userspace-rcu.git]
/
urcu-bp.c
diff --git
a/urcu-bp.c
b/urcu-bp.c
index 80eaefe7ea78a35cd20d138bcb9ac6ebd08c31b4..3b2062d6590034ad33619ab1372b137237a9fd1e 100644
(file)
--- a/
urcu-bp.c
+++ b/
urcu-bp.c
@@
-39,6
+39,7
@@
#include "urcu/wfqueue.h"
#include "urcu/map/urcu-bp.h"
#include "urcu/static/urcu-bp.h"
#include "urcu/wfqueue.h"
#include "urcu/map/urcu-bp.h"
#include "urcu/static/urcu-bp.h"
+#include "urcu-pointer.h"
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
#undef _LGPL_SOURCE
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
#undef _LGPL_SOURCE
@@
-373,9
+374,10
@@
end:
assert(!ret);
}
assert(!ret);
}
-void rcu_bp_exit()
+void rcu_bp_exit(
void
)
{
{
- munmap(registry_arena.p, registry_arena.len);
+ if (registry_arena.p)
+ munmap(registry_arena.p, registry_arena.len);
}
/*
}
/*
@@
-419,5
+421,7
@@
void rcu_bp_after_fork_child(void)
assert(!ret);
}
assert(!ret);
}
+DEFINE_RCU_FLAVOR()
+
#include "urcu-call-rcu-impl.h"
#include "urcu-defer-impl.h"
#include "urcu-call-rcu-impl.h"
#include "urcu-defer-impl.h"
This page took
0.024607 seconds
and
4
git commands to generate.