diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2014-09-16 01:21:47 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2014-09-16 01:21:47 +0000 |
commit | 7f7528fc79c175184216297c6799f80350d1f7bc (patch) | |
tree | 65374955d612320da5d4b3e799af42fa4d5e8f42 /sys/sys/cpuset.h | |
parent | 1481be66b5e90ec8d4a388563d096b0e4225f3c6 (diff) | |
download | src-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/sys/cpuset.h')
-rw-r--r-- | sys/sys/cpuset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/cpuset.h b/sys/sys/cpuset.h index e1ad341d3b24..ba2b7ceaa98a 100644 --- a/sys/sys/cpuset.h +++ b/sys/sys/cpuset.h @@ -118,7 +118,7 @@ struct cpuset *cpuset_thread0(void); struct cpuset *cpuset_ref(struct cpuset *); void cpuset_rel(struct cpuset *); int cpuset_setthread(lwpid_t id, cpuset_t *); -int cpuset_setithread(lwpid_t id, u_char cpu); +int cpuset_setithread(lwpid_t id, int cpu); int cpuset_create_root(struct prison *, struct cpuset **); int cpuset_setproc_update_set(struct proc *, struct cpuset *); char *cpusetobj_strprint(char *, const cpuset_t *); |