From: Mathieu Desnoyers Date: Fri, 22 Feb 2013 15:57:48 +0000 (-0500) Subject: Fix hurd-i386: move cpuset tests outside of sched_setaffinity conditional X-Git-Tag: v0.8.0~103 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=b3231c17e4a4e0b2d76754982eb1e1bc90da2987;hp=b3231c17e4a4e0b2d76754982eb1e1bc90da2987;p=urcu.git Fix hurd-i386: move cpuset tests outside of sched_setaffinity conditional Comment about introduction of cpuset.h within urcu tests: > Unfortunately it doesn't work, because sched_setaffinity is for now > just a fail-stub on hurd-i386, and thus configure considers it as > missing, and thus the CPU_SET test is disabled completely. > > I however guess you could just disable defining your own cpu_set_t > when !HAVE_SCHED_SETAFFINITY, since it is probably used only for using > sched_setaffinity. Fix by moving cpu_set_t, CPU_SET and CPU_ZERO tests outside of the sched_setaffinity conditional. Reported-by: Samuel Thibault Signed-off-by: Mathieu Desnoyers ---