diff options
author | marcel <marcel@FreeBSD.org> | 1999-08-15 17:25:56 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-08-15 17:25:56 +0000 |
commit | 2406f3d703df89b4df724462b15395aefdfd551f (patch) | |
tree | f0a685a641d7592105c85f656512a60761f18c0d /sys/i386/linux | |
parent | c640158ac4d9cd1441788bb9ee5fbe07c4e87924 (diff) | |
download | FreeBSD-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.master | 7 |
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); } |