Fix: add missing VALGRIND ifdef checks and documentation
[lttng-tools.git] / src / common / hashtable / rculfhash.c
index 0ddd21a3b6335ccf3fb2ddb5ea5f1a9dbba1564c..ee09afd1b7201df7c1e6ea4528686cb593e8c96e 100644 (file)
@@ -627,7 +627,7 @@ void free_split_items_count(struct cds_lfht *ht)
        poison_free(ht->split_count);
 }
 
-#if defined(HAVE_SCHED_GETCPU)
+#if defined(HAVE_SCHED_GETCPU) && !defined(VALGRIND)
 static
 int ht_get_split_count_index(unsigned long hash)
 {
This page took 0.02278 seconds and 4 git commands to generate.