Implement need_resched() in the LinuxKPI.

Obtained from:		kmacy @
MFC after:		1 week
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky
2017-04-06 10:29:54 +00:00
parent 8402f058ad
commit fc51649e31
@@ -145,4 +145,6 @@ schedule_timeout(signed long timeout)
return 0;
}
#define need_resched() (curthread->td_flags & TDF_NEEDRESCHED)
#endif /* _LINUX_SCHED_H_ */