From nobody Sat Sep 09 20:52:27 2023 X-Original-To: dev-commits-src-main@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 4RjlXq53V0z4sR5h; Sat, 9 Sep 2023 20:52:27 +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 4RjlXq3BxQz3bgM; Sat, 9 Sep 2023 20:52:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694292747; 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=a9POF+bgudpOJJDTO27Oplouju6KOXVsfePCQO76rEA=; b=JC6P3gc0+NLJDrmJazK5mxxG18660jgc90u7/Td0XK1QGHx13CXfcFgE+I6ge71f2hrp6n NrzaVMNKxDnviGPvqcasSAf647SiypfDtlfbSPvIJ2e9MSJRcGo9vPSyqHlHLOpzr2qdRl wu7D98O6nlag6JRkL3TBKfXoy+Fs0q1mEOTl3yZe5lCquiV9ihalpArMYjuDmwt9ChJh8B t5JsdABPjjcNvB5l/wm2lzKP9T5E5lQKIvqQ1PYUkp7OmiZfAhIV/KzL/vZaycbnN53SQ8 N561cdjRT/XFT72AX/uMU72l7ex+2c0NCrsSEf4bySJV6z4/xLHf2aZkLPnu/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694292747; a=rsa-sha256; cv=none; b=tppSekKxTd1kQbttm4P0gN60uqwu60MDIZ09dZx5DnAICIQhjq12QU5q6F34nWeiJFOryq 8m7ntDB1TJL5WaVWf4wy4eWjcCrR9pViwz5+6Le0Z3wGujW5Y1TJtMITpvLyZsGuJn8Up5 QZ6vBYwQERqIVI9xWbVqDiKgaYxFnc5B4Ys3vHb9iLC8oobS9+9w+P7BBXNMiZB74PHCsb igcMFx/HuckSpT1yK3jDVXtX11XvenQ63pHIXmogDwIropKGQvfKaLbnusFWjYAptoXMoA GbCUaFopJMO7uiq2E0UjkhtTXRANzYJoZs+ftLpgJkV0PwD57eeMRLXLNU0ARA== 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=1694292747; 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=a9POF+bgudpOJJDTO27Oplouju6KOXVsfePCQO76rEA=; b=UyafwhOmp9AOrkaeSV0ayJTutqCu4j7N+SYOjpciIzIbBEFTbgbb5Qqzwxj+UpC93tFq/9 eN9gvPzwfOgHp0AVCqgWfM6mnVhrYyBVA/FWNQtmTCsKV6mZN6jFJRF6MOBxPg30ocJlb5 o097dkcumo+1tWm/sN7d76p16Fht2f06iNSBp0Weyfx0/BPZ1zdScDsKnJFQrvL7HaYCXO MBoHiksi41UuwUlG1pqnQg8fnb3e6Cl4eHUhDp1BnQkmCQZRyjwk/0KcCkw3dOjvC8OIDm 1wyfkkkKYHU2z6rVpJ3/kkEBU0v4lT2vu34xEdYRGeuGrPj22HVpwzh2eNixzA== 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 4RjlXq2FXKzg9Q; Sat, 9 Sep 2023 20:52:27 +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 389KqRKm098033; Sat, 9 Sep 2023 20:52:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 389KqR2U098030; Sat, 9 Sep 2023 20:52:27 GMT (envelope-from git) Date: Sat, 9 Sep 2023 20:52:27 GMT Message-Id: <202309092052.389KqR2U098030@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: ef545fe7ba66 - main - drm2: fix build after abs64 became global List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: ef545fe7ba6628054765c81624bb5f95884d45f2 Auto-Submitted: auto-generated The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ef545fe7ba6628054765c81624bb5f95884d45f2 commit ef545fe7ba6628054765c81624bb5f95884d45f2 Author: Mateusz Guzik AuthorDate: 2023-09-09 20:50:55 +0000 Commit: Mateusz Guzik 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);