svn commit: r269661 - head/sys/kern

Raphael Kubo da Costa rakuco at
Thu Aug 7 14:14:13 UTC 2014

Andrey V. Elsukov <ae at> writes:

> Author: ae
> Date: Thu Aug  7 10:23:50 2014
> New Revision: 269661
> URL:
> Log:
>   Use cpuset_setithread() to apply cpu mask to taskq threads.
>   Sponsored by:	Yandex LLC

This broke the build here:

/usr/src/sys/kern/subr_taskqueue.c:541:42: error: incompatible pointer to integer conversion passing 'cpuset_t *' (aka 'struct _cpuset *') to parameter of type 'u_char' (aka 'unsigned char') [-Werror,-Wint-conversion]
                        error = cpuset_setithread(td->td_tid, mask);
/usr/src/sys/sys/cpuset.h:121:42: note: passing argument to parameter 'cpu' here
int     cpuset_setithread(lwpid_t id, u_char cpu);

More information about the svn-src-all mailing list