]> git.liburcu.org Git - urcu.git/commit
Fix hurd-i386: move cpuset tests outside of sched_setaffinity conditional
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 22 Feb 2013 15:57:48 +0000 (10:57 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 22 Feb 2013 16:35:15 +0000 (11:35 -0500)
commita7af9c21c99f28ef0755cee2209bf8f076ce6656
tree9f9061ef968effb0dfad23d2e5f826dae9301781
parent95d8822d8b4c4a3563bf51c7c718350eb2babd20
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 <sthibault@debian.org>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac
This page took 0.031798 seconds and 4 git commands to generate.