projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Create per RCU flavor CDS libraries"
[urcu.git]
/
rculfqueue.c
diff --git
a/rculfqueue.c
b/rculfqueue.c
index c579e75a759e4e25d0f1780ecabd5c0b1bcd3e2a..d1cea30db52fe0b09e1efa618b121ae30c5191b6 100644
(file)
--- a/
rculfqueue.c
+++ b/
rculfqueue.c
@@
-20,16
+20,6
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _LGPL_SOURCE
-
-#ifdef RCU_QSBR
-# include "urcu-qsbr.h"
-#elif defined(RCU_BP)
-# include "urcu-bp.h"
-#else
-# include "urcu.h"
-#endif
-
#undef _LGPL_SOURCE
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
#include "urcu/rculfqueue.h"
#undef _LGPL_SOURCE
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
#include "urcu/rculfqueue.h"
@@
-44,9
+34,11
@@
void cds_lfq_node_init_rcu(struct cds_lfq_node_rcu *node)
_cds_lfq_node_init_rcu(node);
}
_cds_lfq_node_init_rcu(node);
}
-void cds_lfq_init_rcu(struct cds_lfq_queue_rcu *q)
+void cds_lfq_init_rcu(struct cds_lfq_queue_rcu *q,
+ void queue_call_rcu(struct rcu_head *head,
+ void (*func)(struct rcu_head *head)))
{
{
- _cds_lfq_init_rcu(q);
+ _cds_lfq_init_rcu(q
, queue_call_rcu
);
}
int cds_lfq_destroy_rcu(struct cds_lfq_queue_rcu *q)
}
int cds_lfq_destroy_rcu(struct cds_lfq_queue_rcu *q)
This page took
0.051861 seconds
and
4
git commands to generate.