Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Aug 2014 17:14:02 +0300
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        Andrey V. Elsukov <ae@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r269661 - head/sys/kern
Message-ID:  <86r40s1j6d.fsf@FreeBSD.org>
In-Reply-To: <53e353b6.5aa8.4ee2421b@svn.freebsd.org> (Andrey V. Elsukov's message of "Thu, 7 Aug 2014 10:23:50 %2B0000 (UTC)")
References:  <53e353b6.5aa8.4ee2421b@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrey V. Elsukov <ae@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);
                                             ^



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r40s1j6d.fsf>