Date: Sun, 18 Jul 2021 00:36:21 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: b7f41005dbb4 - stable/13 - LinuxKPI: add time_is_after_jiffies() definition Message-ID: <202107180036.16I0aLI4049006@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org> AuthorDate: 2021-05-24 18:24:13 +0000 Commit: Bjoern A. Zeeb <bz@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107180036.16I0aLI4049006>