summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 14:47:08 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 14:47:08 +0000
commit31e61f67492a11c512c20a8287816fab97f9e44b (patch)
treef4dbafaa603bb145f9138f3bddb7d9f5f211ac70 /sys/i386/linux
parent65d490113d4e8fad5cc1981ca0da891aa7516c0a (diff)
downloadFreeBSD-src-31e61f67492a11c512c20a8287816fab97f9e44b.zip
FreeBSD-src-31e61f67492a11c512c20a8287816fab97f9e44b.tar.gz
MFC r283379:
Implement a Linux version of sched_getparam() && sched_setparam(). Temporarily use the first thread in proc.
Diffstat (limited to 'sys/i386/linux')
-rw-r--r--sys/i386/linux/syscalls.master8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index 4de3487..b5e1706 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -269,10 +269,10 @@
151 AUE_MUNLOCK NOPROTO { int munlock(const void *addr, size_t len); }
152 AUE_MLOCKALL NOPROTO { int mlockall(int how); }
153 AUE_MUNLOCKALL NOPROTO { int munlockall(void); }
-154 AUE_SCHED_SETPARAM NOPROTO { int sched_setparam(pid_t pid, \
- const struct sched_param *param); }
-155 AUE_SCHED_GETPARAM NOPROTO { int sched_getparam(pid_t pid, \
- struct sched_param *param); }
+154 AUE_SCHED_SETPARAM STD { int linux_sched_setparam(l_pid_t pid, \
+ struct l_sched_param *param); }
+155 AUE_SCHED_GETPARAM STD { int linux_sched_getparam(l_pid_t pid, \
+ struct l_sched_param *param); }
156 AUE_SCHED_SETSCHEDULER STD { int linux_sched_setscheduler( \
l_pid_t pid, l_int policy, \
struct l_sched_param *param); }
OpenPOWER on IntegriCloud