git: b7f41005dbb4 - stable/13 - LinuxKPI: add time_is_after_jiffies() definition
Bjoern A. Zeeb
bz at FreeBSD.org
Sun Jul 18 00:36:24 UTC 2021
The branch stable/13 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=b7f41005dbb4dcf6a92a1231387fbc3598c7223f
commit b7f41005dbb4dcf6a92a1231387fbc3598c7223f
Author: Bjoern A. Zeeb <bz at FreeBSD.org>
AuthorDate: 2021-05-24 18:24:13 +0000
Commit: Bjoern A. Zeeb <bz at FreeBSD.org>
CommitDate: 2021-07-18 00:35:01 +0000
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
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D30430
(cherry picked from commit 8620fe4c10922b12492155d97b913deb6c5d82c6)
---
sys/compat/linuxkpi/common/include/linux/jiffies.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/jiffies.h b/sys/compat/linuxkpi/common/include/linux/jiffies.h
index ed2c5f774d23..7d547e6d66cd 100644
--- a/sys/compat/linuxkpi/common/include/linux/jiffies.h
+++ b/sys/compat/linuxkpi/common/include/linux/jiffies.h
@@ -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
More information about the dev-commits-src-all
mailing list