LinuxKPI: add time_is_after_jiffies() definition

This is used by wireless drivers.  Use the time_after() macro as
done for the "after_eq" version.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Reviewed by:	hselasky
Differential Revision: https://reviews.freebsd.org/D30430
This commit is contained in:
Bjoern A. Zeeb 2021-05-24 18:24:13 +00:00
parent 1082490cd8
commit 8620fe4c10

View File

@ -53,6 +53,7 @@
#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 time_is_after_jiffies(a) time_after(a, jiffies)
#define HZ hz