summaryrefslogtreecommitdiffstats
path: root/sys/amd64
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/amd64
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/amd64')
-rw-r--r--sys/amd64/linux32/syscalls.master8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index f7faa45..7d3c11b 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -267,10 +267,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