summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-08-15 17:25:56 +0000
committermarcel <marcel@FreeBSD.org>1999-08-15 17:25:56 +0000
commit2406f3d703df89b4df724462b15395aefdfd551f (patch)
treef0a685a641d7592105c85f656512a60761f18c0d /sys/i386/linux
parentc640158ac4d9cd1441788bb9ee5fbe07c4e87924 (diff)
downloadFreeBSD-src-2406f3d703df89b4df724462b15395aefdfd551f.zip
FreeBSD-src-2406f3d703df89b4df724462b15395aefdfd551f.tar.gz
Provide wrappers for sched_{s|g}etscheduler. We need to convert the policy
argument. PR: 12006
Diffstat (limited to 'sys/i386/linux')
-rw-r--r--sys/i386/linux/syscalls.master7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index 8077653..d90bee4 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -1,4 +1,4 @@
- $Id: syscalls.master,v 1.19 1999/08/14 17:14:13 marcel Exp $
+ $Id: syscalls.master,v 1.20 1999/08/14 18:19:00 marcel Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
; System call name/number master file (or rather, slave, from LINUX).
@@ -224,8 +224,9 @@
154 NOPROTO POSIX { int sched_setparam (pid_t pid, const struct sched_param *param); }
155 NOPROTO POSIX { int sched_getparam (pid_t pid, struct sched_param *param); }
-156 NOPROTO POSIX { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
-157 NOPROTO POSIX { int sched_getscheduler (pid_t pid); }
+156 STD POSIX { int linux_sched_setscheduler(pid_t pid, int policy, \
+ const struct sched_param *param); }
+157 STD POSIX { int linux_sched_getscheduler(pid_t pid); }
158 NOPROTO POSIX { int sched_yield (void); }
159 NOPROTO POSIX { int sched_get_priority_max (int policy); }
OpenPOWER on IntegriCloud