Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2023 20:52:27 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ef545fe7ba66 - main - drm2: fix build after abs64 became global
Message-ID:  <202309092052.389KqR2U098030@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=ef545fe7ba6628054765c81624bb5f95884d45f2

commit ef545fe7ba6628054765c81624bb5f95884d45f2
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-09-09 20:50:55 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-09-09 20:50:55 +0000

    drm2: fix build after abs64 became global
    
    Fixes: 229c65a83fb ("kern: Globally define abs64")
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309092052.389KqR2U098030>