rcuja: remove unneeded bitfield.h
[urcu.git] / rcuja / rcuja-shadow-nodes.c
index 093135f751b7fa787d70ba44c425b62e45a34c08..1c6124e3e749e5cc6c72e28a0c584c4f272b811f 100644 (file)
@@ -33,7 +33,6 @@
 #include <time.h>
 
 #include "rcuja-internal.h"
-#include "bitfield.h"
 
 static unsigned long hash_seed;
 
@@ -280,7 +279,7 @@ void free_shadow_node_and_node(struct rcu_head *head)
 {
        struct cds_ja_shadow_node *shadow_node =
                caa_container_of(head, struct cds_ja_shadow_node, head);
-       free_cds_ja_node(ja_node_ptr(shadow_node->node_flag));
+       free_cds_ja_node(shadow_node->ja, ja_node_ptr(shadow_node->node_flag));
        free(shadow_node);
 }
 
@@ -299,7 +298,7 @@ void free_shadow_node_and_node_and_lock(struct rcu_head *head)
        struct cds_ja_shadow_node *shadow_node =
                caa_container_of(head, struct cds_ja_shadow_node, head);
        assert(shadow_node->level);
-       free_cds_ja_node(ja_node_ptr(shadow_node->node_flag));
+       free_cds_ja_node(shadow_node->ja, ja_node_ptr(shadow_node->node_flag));
        free(shadow_node->lock);
        free(shadow_node);
 }
This page took 0.02275 seconds and 4 git commands to generate.