Implement time_is_after_eq_jiffies() function in the LinuxKPI.

MFC after:		1 week
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2017-03-07 15:37:51 +00:00
parent 661a318c83
commit 249a42207b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314861

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