diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2008-03-16 16:27:44 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2008-03-16 16:27:44 +0000 |
commit | b13a84dcb742a3f8b4eedbe8ac786305dc5bf6c2 (patch) | |
tree | 995953c30431d70329742495b3f91bbf606f33f2 /sys/i386/linux | |
parent | b406d6e2a32005eb05d9f083c4191d5650433f55 (diff) | |
download | FreeBSD-src-b13a84dcb742a3f8b4eedbe8ac786305dc5bf6c2.zip FreeBSD-src-b13a84dcb742a3f8b4eedbe8ac786305dc5bf6c2.tar.gz |
Implement sched_setaffinity and get_setaffinity using
real cpu affinity setting primitives.
Reviewed by: jeff
Approved by: kib (mentor)
Diffstat (limited to 'sys/i386/linux')
-rw-r--r-- | sys/i386/linux/syscalls.master | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master index 9692fe4..af0755a 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -409,7 +409,8 @@ 239 AUE_SENDFILE UNIMPL linux_sendfile64 240 AUE_NULL STD { int linux_sys_futex(void *uaddr, int op, int val, \ struct l_timespec *timeout, void *uaddr2, int val3); } -241 AUE_NULL UNIMPL linux_sched_setaffinity +241 AUE_NULL STD { int linux_sched_setaffinity(l_pid_t pid, l_uint len, \ + l_ulong *user_mask_ptr); } 242 AUE_NULL STD { int linux_sched_getaffinity(l_pid_t pid, l_uint len, \ l_ulong *user_mask_ptr); } 243 AUE_NULL STD { int linux_set_thread_area(struct l_user_desc *desc); } |