X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=doc%2Fexamples%2Fhlist%2Fcds_hlist_del_rcu.c;fp=doc%2Fexamples%2Fhlist%2Fcds_hlist_del_rcu.c;h=2c0008eefb2b791e204d337f21c203756dbb85d7;hp=1995b215cf24e505daa262d935561aa042f545b0;hb=b9050d917ab84db192b5609ba6dd9973a82d215a;hpb=042e8cfe9b352b325a7350f345a3f2923606a2be diff --git a/doc/examples/hlist/cds_hlist_del_rcu.c b/doc/examples/hlist/cds_hlist_del_rcu.c index 1995b21..2c0008e 100644 --- a/doc/examples/hlist/cds_hlist_del_rcu.c +++ b/doc/examples/hlist/cds_hlist_del_rcu.c @@ -16,7 +16,7 @@ #include -#include /* Userspace RCU flavor */ +#include /* Userspace RCU flavor */ #include /* RCU hlist */ #include /* For CAA_ARRAY_SIZE */ @@ -72,7 +72,7 @@ int main(int argc, char **argv) * We can only reclaim memory after a grace * period has passed after cds_hlist_del_rcu(). */ - call_rcu(&node->rcu_head, free_node_rcu); + urcu_memb_call_rcu(&node->rcu_head, free_node_rcu); } }