Subject: COMPAT_LINUX32/sched_yield()
To: None <port-amd64@NetBSD.org>
From: Edgar =?iso-8859-1?B?RnXf?= <ef@math.uni-bonn.de>
List: port-amd64
Date: 03/09/2007 17:47:30
Hm, is this all we need to implement sched_yield() in linux32?

--- syscalls.master.orig        2006-09-13 21:55:49.000000000 +0200
+++ syscalls.master     2007-03-09 16:48:07.000000000 +0100
@@ -264,7 +265,7 @@
 156	STD	{ int linux32_sys_sched_setscheduler(pid_t pid, \
		    int policy, const linux32_sched_paramp_t sp); }
 157	NOARGS	{ int linux_sys_sched_getscheduler(pid_t pid); }
-158	UNIMPL	sched_yield
+158	STD	{ int linux_sys_sched_yield(void); }
 159	UNIMPL	sched_get_priority_max
 160	UNIMPL	sched_get_priority_min
 161	UNIMPL	sched_rr_get_interval