X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fworkqueue.c;h=c2c9b9c57417855d8b48f85adbcbed9c6cb6bab6;hb=a9e31859feb8d62a3e9d8a434c3f1bd80dbe3076;hp=59eb21d534e9446df3f477795062e9dba4ec2abc;hpb=8aa7752807bc4edf74824af80dcfdfaaae38fbd4;p=urcu.git diff --git a/src/workqueue.c b/src/workqueue.c index 59eb21d..c2c9b9c 100644 --- a/src/workqueue.c +++ b/src/workqueue.c @@ -92,7 +92,7 @@ struct urcu_workqueue_completion_work { * Losing affinity can be caused by CPU hotunplug/hotplug, or by * cpuset(7). */ -#if HAVE_SCHED_SETAFFINITY +#ifdef HAVE_SCHED_SETAFFINITY static int set_thread_cpu_affinity(struct urcu_workqueue *workqueue) { cpu_set_t mask;