aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_cpuset.c
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2014-09-16 01:21:47 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2014-09-16 01:21:47 +0000
commit7f7528fc79c175184216297c6799f80350d1f7bc (patch)
tree65374955d612320da5d4b3e799af42fa4d5e8f42 /sys/kern/kern_cpuset.c
parent1481be66b5e90ec8d4a388563d096b0e4225f3c6 (diff)
downloadsrc-7f7528fc79c175184216297c6799f80350d1f7bc.tar.gz
src-7f7528fc79c175184216297c6799f80350d1f7bc.zip
Modify cpuset_setithread() to take a CPU ID as an integer, not a char.
We're going to end up having > 254 CPUs at some point.
Notes
Notes: svn path=/head/; revision=271658
Diffstat (limited to 'sys/kern/kern_cpuset.c')
-rw-r--r--sys/kern/kern_cpuset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_cpuset.c b/sys/kern/kern_cpuset.c
index f74f5ae10eda..341f998f9292 100644
--- a/sys/kern/kern_cpuset.c
+++ b/sys/kern/kern_cpuset.c
@@ -719,7 +719,7 @@ out:
* Apply new cpumask to the ithread.
*/
int
-cpuset_setithread(lwpid_t id, u_char cpu)
+cpuset_setithread(lwpid_t id, int cpu)
{
struct cpuset *nset, *rset;
struct cpuset *parent, *old_set;