diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2007-08-28 12:26:35 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2007-08-28 12:26:35 +0000 |
commit | b6e645c90f37e74056544503883f1cf02d290116 (patch) | |
tree | 001d113e9fb8a3030b51a8b7dbab00c04d4a9e6d /sys/i386/linux | |
parent | 8553cd622c29a640c0868c3ffd93b4bb708921b0 (diff) |
Implement fake linux sched_getaffinity() syscall to enable java to work
with Linux 2.6 emulation. This shall be reimplemented once FreeBSD gets
native scheduler affinity syscalls.
Submitted by: rdivacky
Reviewed by: jkim
Sponsored by: Google Summer of Code 2007
Approved by: re (kensmith)
Notes
Notes:
svn path=/head/; revision=171998
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 43946f2339eb..ee83e369f285 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -410,7 +410,8 @@ 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 -242 AUE_NULL UNIMPL linux_sched_getaffinity +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); } 244 AUE_NULL STD { int linux_get_thread_area(struct l_user_desc *desc); } 245 AUE_NULL UNIMPL linux_io_setup |