From nobody Fri May 8 20:05:50 2026 X-Original-To: dev-commits-src-all@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 4gC0VQ4m4xz6ctlT for ; Fri, 08 May 2026 20:05:50 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gC0VQ1qgXz3mCF for ; Fri, 08 May 2026 20:05:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778270750; 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=4VEoqt6FpjzPUFbfBsUZvFdgyFyeryvwGz6ycDzavUk=; b=Io5XlxtyxvFVqJyCZwpt8S0+/c0O+hkIjDqWkHqr7i440rHunCGMB4ZS2yRqe0m+zbd0XI oNCWcXTZgkO5G8hVU1bW44dWzLXkRii+U8Sakn7sUAeIocRp4upjEeoI7h0K0tHaGo9ZiK Te3RnEEWEhCIeWawHk6ysDWKGWTGXuX7gL9K0mz2RfpSDjGDBysfJOkU+7c8HQVDJFXdn+ wG/i9Lfblmhi3OefJ8WkP5P/ld3tfh0dusSWiSNb1iY4ifig37RmgNP9jOAJA11nJm0ocB 6I5/DPhPpnBdoqqiAaokNdYfOH40aSE21QtbmajYlRlsXrG2P0UjGKqcTbPACQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778270750; a=rsa-sha256; cv=none; b=ALBAaW0AGjIyYWUiMqRJDAT3N4pauQxrN2f3Y74wxsNjnOSJgo6yFQ3yF2cClRct9PC3rc mrPGXo0Jy15s8nF3L+Yei2jMkahr/GU5koGN1uvHoj2GszBXYC58q2PkrME53esvX+Mecb AYLqp1WTFfhULxuwb/WbJ0vrXGVa+oNi+2Ezna/HiSNOzdRqTjtdxgyKTa2jtVyS7P/A4a aVqHTmGqL0E2XTTEz8s6v9+4PbHtkNpMYNDQOvupBBkXnWeQZulzvuY6bZKK9i5K+xWWQ0 CzfguQlVTZ5f3KkhUt42vk7gDgHY2BPJlM6+FiksW3JzQ8wBfqtKqVe/FsWAMw== 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=1778270750; 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=4VEoqt6FpjzPUFbfBsUZvFdgyFyeryvwGz6ycDzavUk=; b=BrWXFmffXwLe4jWT/kUDg93yqAlOtLm0meZu3T9NVeWcGHUVje0DToPn+F/S6LfOSchFEj Nwpesphr/7r+v6cw+nKR7gvxoAY+lhJ5lD80YpPKbgT/0iqlN3KIEuN6NPQxhuvpS29nOh G1jxFj4gSIRLbxUm+KTCn8YmFu0TH7nQxiX3Li6bHfflnNOO968CU3kqEFwvye3q2pDGcu frrbGHrm27kG6VkYoJQD0pxFjWdOZsyFP7Gpn6yS8eObtjBl9CfIermXatTbD4AhLNQFgI Aml12UKqH5vHaZ6ZvoNQbaTkAyZvxPxtpjdKOauOUxd/msMusL35HQyxEZ0ycQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gC0VQ1Pf0zC7X for ; Fri, 08 May 2026 20:05:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1e236 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 08 May 2026 20:05:50 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ryan Libby Subject: git: 324d53c26b23 - main - sys/time: rework saturation ifdef to avoid direct arch ref List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rlibby X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 324d53c26b2399d9b44fdd08e9c5af650f4ec3ae Auto-Submitted: auto-generated Date: Fri, 08 May 2026 20:05:50 +0000 Message-Id: <69fe421e.1e236.606f6a05@gitrepo.freebsd.org> The branch main has been updated by rlibby: URL: https://cgit.FreeBSD.org/src/commit/?id=324d53c26b2399d9b44fdd08e9c5af650f4ec3ae commit 324d53c26b2399d9b44fdd08e9c5af650f4ec3ae Author: Ryan Libby AuthorDate: 2026-05-08 19:37:24 +0000 Commit: Ryan Libby CommitDate: 2026-05-08 19:37:24 +0000 sys/time: rework saturation ifdef to avoid direct arch ref Suggested by: kib Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D56401 --- sys/sys/time.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/time.h b/sys/sys/time.h index 6f18d8bd844d..5255d3bc9c7e 100644 --- a/sys/sys/time.h +++ b/sys/sys/time.h @@ -355,7 +355,7 @@ tstosbt(struct timespec _ts) static __inline sbintime_t tstosbt_sat(struct timespec _ts) { -#ifndef __i386__ +#if __SIZEOF_TIME_T > 4 if (_ts.tv_sec > SBT_MAX >> 32) return (SBT_MAX); if (_ts.tv_sec < -(SBT_MAX >> 32) - 1) @@ -384,7 +384,7 @@ tvtosbt(struct timeval _tv) static __inline sbintime_t tvtosbt_sat(struct timeval _tv) { -#ifndef __i386__ +#if __SIZEOF_TIME_T > 4 if (_tv.tv_sec > SBT_MAX >> 32) return (SBT_MAX); if (_tv.tv_sec < -(SBT_MAX >> 32) - 1)