Implement time_is_after_eq_jiffies() function in the LinuxKPI.

MFC after:		1 week
Sponsored by:		Mellanox Technologies
This commit is contained in:
hselasky 2017-03-07 15:37:51 +00:00
parent feff0471f3
commit f2edf2f23d

View File

@ -50,6 +50,7 @@
#define time_before_eq(a, b) time_after_eq(b, a)
#define time_in_range(a,b,c) \
(time_after_eq(a,b) && time_before_eq(a,c))
#define time_is_after_eq_jiffies(a) time_after_eq(a, jiffies)
#define HZ hz