sched_yield implementation

This commit is contained in:
Balazs Gerofi
2015-02-17 16:20:39 -08:00
parent d2d0fc6721
commit 6485578a7f

View File

@ -3306,7 +3306,9 @@ SYSCALL_DECLARE(get_cpu_id)
SYSCALL_DECLARE(sched_yield)
{
return -ENOSYS;
schedule();
return 0;
}
SYSCALL_DECLARE(mlock)