git: f829556e3b85 - stable/14 - drm2: fix build after abs64 became global
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Sep 2023 21:00:19 UTC
The branch stable/14 has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=f829556e3b8541f676db914c1d3a9604e15b4b31 commit f829556e3b8541f676db914c1d3a9604e15b4b31 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2023-09-09 20:50:55 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2023-09-18 21:00:11 +0000 drm2: fix build after abs64 became global Fixes: 229c65a83fb ("kern: Globally define abs64") Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit ef545fe7ba6628054765c81624bb5f95884d45f2) --- sys/dev/drm2/drm_os_freebsd.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/dev/drm2/drm_os_freebsd.h b/sys/dev/drm2/drm_os_freebsd.h index 7f5bb22aff03..0ce0dede6d73 100644 --- a/sys/dev/drm2/drm_os_freebsd.h +++ b/sys/dev/drm2/drm_os_freebsd.h @@ -304,13 +304,6 @@ ilog2(unsigned long x) return (flsl(x) - 1); } -static inline int64_t -abs64(int64_t x) -{ - - return (x < 0 ? -x : x); -} - int64_t timeval_to_ns(const struct timeval *tv); struct timeval ns_to_timeval(const int64_t nsec);