adjust prototypes for the affinity calls.

This commit is contained in:
christos 2008-06-16 00:31:17 +00:00
parent 7d902495c2
commit 5c45905c42

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.201 2008/05/29 12:01:37 pooka Exp $
$NetBSD: syscalls.master,v 1.202 2008/06/16 00:31:17 christos Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@ -54,6 +54,7 @@
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
#incluse <sys/sched.h>
%%
@ -702,9 +703,9 @@
347 STD { int sys__sched_getparam(pid_t pid, lwpid_t lid, \
int *policy, struct sched_param *params); }
348 STD { int sys__sched_setaffinity(pid_t pid, lwpid_t lid, \
size_t size, void *cpuset); }
size_t size, const cpuset_t *cpuset); }
349 STD { int sys__sched_getaffinity(pid_t pid, lwpid_t lid, \
size_t size, void *cpuset); }
size_t size, cpuset_t *cpuset); }
350 STD { int sys_sched_yield(void); }
351 UNIMPL
352 UNIMPL