Implement need_resched() in the LinuxKPI.
Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
8402f058ad
commit
fc51649e31
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316564
@ -145,4 +145,6 @@ schedule_timeout(signed long timeout)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define need_resched() (curthread->td_flags & TDF_NEEDRESCHED)
|
||||
|
||||
#endif /* _LINUX_SCHED_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user