Implement need_resched() in the LinuxKPI.
Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
@@ -145,4 +145,6 @@ schedule_timeout(signed long timeout)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define need_resched() (curthread->td_flags & TDF_NEEDRESCHED)
|
||||
|
||||
#endif /* _LINUX_SCHED_H_ */
|
||||
|
||||
Reference in New Issue
Block a user