X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=rculfhash-internal.h;fp=rculfhash-internal.h;h=284125af29887ca474206391ae69e0fe5d7eec2f;hp=a8a1ce42f1af1620f62aa7df9161ea68c5c05b14;hb=5bc6b66f4dd5e21dc30d647760530a3ce06f4c2f;hpb=87159645a8b732c34e502b0852f095da8e08800f diff --git a/rculfhash-internal.h b/rculfhash-internal.h index a8a1ce4..284125a 100644 --- a/rculfhash-internal.h +++ b/rculfhash-internal.h @@ -137,8 +137,8 @@ struct cds_lfht { */ }; -extern unsigned int fls_ulong(unsigned long x); -extern int get_count_order_ulong(unsigned long x); +extern unsigned int cds_lfht_fls_ulong(unsigned long x); +extern int cds_lfht_get_count_order_ulong(unsigned long x); #ifdef POISON_FREE #define poison_free(ptr) \ @@ -168,7 +168,7 @@ struct cds_lfht *__default_alloc_cds_lfht( ht->bucket_at = mm->bucket_at; ht->min_nr_alloc_buckets = min_nr_alloc_buckets; ht->min_alloc_buckets_order = - get_count_order_ulong(min_nr_alloc_buckets); + cds_lfht_get_count_order_ulong(min_nr_alloc_buckets); ht->max_nr_buckets = max_nr_buckets; return ht;