mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
Use passed thread pointer instead of curthread in sys_sched_yield
No functional changes.
This commit is contained in:
parent
8baaf913be
commit
fe7979a12c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325733
@ -292,8 +292,8 @@ int
|
||||
sys_sched_yield(struct thread *td, struct sched_yield_args *uap)
|
||||
{
|
||||
|
||||
sched_relinquish(curthread);
|
||||
return 0;
|
||||
sched_relinquish(td);
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user