Andrey V. Elsukov <a...@freebsd.org> writes:

> Author: ae
> Date: Thu Aug  7 10:23:50 2014
> New Revision: 269661
> URL: http://svnweb.freebsd.org/changeset/base/269661
>
> 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);
                                             ^
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to