fix: HAVE_SCHED_SETAFFINITY is not defined
[userspace-rcu.git] / tests / common / api.h
index 3737d4b5012e834b8dc089336dc719d9533f2349..32d594a11350e38e7edcff3da6660b6852be75a9 100644 (file)
@@ -231,7 +231,7 @@ static void wait_all_threads(void)
 
 static void run_on(int cpu)
 {
-#if HAVE_SCHED_SETAFFINITY
+#ifdef HAVE_SCHED_SETAFFINITY
        cpu_set_t mask;
 
        CPU_ZERO(&mask);
This page took 0.022809 seconds and 4 git commands to generate.