From nobody Mon Sep 18 21:00:19 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RqHHm1f9Cz4tl5l; Mon, 18 Sep 2023 21:00:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RqHHm0q1Pz4QyK; Mon, 18 Sep 2023 21:00:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695070820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Lm5CHYIeU9GGd9H5PIiHLdZ59eWnmKPH21iBTosoKUE=; b=V70UxQjzfRNXp/47BbEJVtCw66M1Dk02Aor3S3A4iJ7let3bDM5pL9/xYftXYRQO0StE/N gaUg/O6T0KPMsTBhVAxh18RRrpx+N0WW5+qyYG3oYRZ3hzMPJCVaK2j6H8Y1qxj2jJUUxX 8teYuONSXv6mwPRmjcOfPRhHmUrq2ck0VHKIxBuoGg05C8aNKANN3vaF2H4TkcuYiTg50E veO1v//BPNKNsSS7H61POh1Lv8PFODciU11pq1byf4Rg76jiSo4xS8PgF7pJ6UDbaSAhO6 QjfK2rNaZyd6gQTafjyx+T0joY79dBh5w8KGpNP8p9kKcH8t9GW8TYZF02tr7A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695070820; a=rsa-sha256; cv=none; b=lhepSmtsh2DWj7hKcX+/K3K1aPLgUf5++MC1qXGyrKFai4vzSbbAaZkRD6bh3DoHSlReYB vx8gOkFENdXyf5BB5lxkA41tWayk95R2K4SVeD6bTHiNW0m4qMrPlkiu4UmiKFS5MrJDiW UWK6AEqajD8VhJLOAK8gnSkW/1LS3CPUHdP1bSicZb9c66bbfFV5lGz/4beJ6G5l/VCRPz uVgtuDphWqEs6yvoBF2Zhy+7Ylma3pigDfuSJw0d1ZKZewT/UTKB99URZ/3huGeFU2oush iS0Pflfc4j6QBge1gI3sW9efBwYpqG99wexJKP9Nb5M9byzWOMFc/J8D0Ze4xQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695070820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Lm5CHYIeU9GGd9H5PIiHLdZ59eWnmKPH21iBTosoKUE=; b=x4oOxLJwpp5a9pfxO8bsGcVrfu2kcvo2dYEDB2yaIGwuCSviKEARMa++reS/j2zrzV0KEr Cieh8JHMKI7Zr4U6MO0Pg83Li9EF0//dbYhGpcrInXuCPGb+b5X58Kjv+rgYJaC6c1RFLX h+eAxlJ5iBOhYziDK+L+/y4NVK1jI6jvcptYncNXPd64yp6OQo39ufE8/xx3biJntEnOQL c9kiCSwk+NBO2/4tmp7Unw8jAKju9e5aV3/jx5NW5ocKm+ccg6iBec9ZjI+WCf1YGBgMbY sZbQMF5jb/tGm3yvSJkB3WE+FGjv9Lfas8BtuH8TT8DuDTuwBJhWq/NmuqBTbA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RqHHl70sXzmC7; Mon, 18 Sep 2023 21:00:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38IL0JhS055259; Mon, 18 Sep 2023 21:00:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38IL0Jjs055256; Mon, 18 Sep 2023 21:00:19 GMT (envelope-from git) Date: Mon, 18 Sep 2023 21:00:19 GMT Message-Id: <202309182100.38IL0Jjs055256@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Guzik Subject: git: f829556e3b85 - stable/14 - drm2: fix build after abs64 became global List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: f829556e3b8541f676db914c1d3a9604e15b4b31 Auto-Submitted: auto-generated The branch stable/14 has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=f829556e3b8541f676db914c1d3a9604e15b4b31 commit f829556e3b8541f676db914c1d3a9604e15b4b31 Author: Mateusz Guzik AuthorDate: 2023-09-09 20:50:55 +0000 Commit: Mateusz Guzik 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);