From nobody Fri Oct 16 16:28:11 2026 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 4j5r2z5CK4z6vG9m for ; Fri, 16 Oct 2026 16:28:11 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4j5r2z47Fnz4JlJ for ; Fri, 16 Oct 2026 16:28:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792168091; 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=IuNg7HutDp6nAfI7qTre5DVw6rMJqeZ+QdJCmctjcaA=; b=u3NwEdjSllD9eybRgB49EI0/vdD0We4o1h1MOmbYIHdnXgo6em+4FFAw/Da5c7SJYa/HHK ycR3W7RWbUevZMv71j1bjuBTB2or8UBLlHjy5eQuS4dihcGQb6T/EhUPBzePMwrqtqAOe4 fVtW7wXREwWb2rVqp2jH5+4YFYs4/TmocPZQP7d2W2DN9PAWPmpppGiqsSUTduQNmySnNo 3vHCO5neNz0MQK6lnVqw5JrJL5MQTjNi8izjYvtcxYN1D9Mhj+X7PuWVpyqRlitEfoFMlR 5ipFool9o/9wwPzlaL5aNoh4uBpL3hdfyEpV5LlwRPnWtzX/kI221YFyJCRJ8g== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792168091; b=y2SISl9zK9XyEJLVmqfgIFgWPN2+xUOOI4vAMtiazuuxEi4JCDEx/nrYPjTkyj8cKtC4f7 46qByzvw2oh3tiUOcfUdupiDIp7T4G4ZI6Zfzz4amzME+PuzjAE9Pqa7LNK6bemfbm0JAO uzdr7K2LtgSJ0tTvdZpxrbcIJqgf4jd5pbTbxHiVKzzmiBumaPCJtHZGYAlS7kFjR3knDj z9AGRknaZGo4InqxZE17ndyM+BVwwRE3DB0Q7GDC7f0PQbUE3o8qipd1nq57EYWpKkiCGq 66ziw+Djy3Uf+FIF152nDQknECbfXWi0o8R7x/b8XcxNkCgKkZCbNiG1Yhl9rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792168091; 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=IuNg7HutDp6nAfI7qTre5DVw6rMJqeZ+QdJCmctjcaA=; b=oL7WgrEbhtup58VNWL94hrf4IPjQW1DArDkzHZX1WpshDfuZkwDDgzRAA/PCyhjfGyuHCI YjgNHO/1oGnjiGiDvtxWrNZQg7CC3jBL7qkeQGZHiqKMeZ13AZjVNsQ+bCEFDImIA+ZOFu go5qDNu2ut3OO+CllxXMvVHpgn7KZIdaij9kmWwr2iooJLQ+8p+7/q2qG1Wx1bm0Ccw44t FZc2J+SO3ZRbuBEnCW2rGp8gypVNB555ahHg/FTRADMpgfJ5w/fe6sMgtGIDN/aim2meCC Ra4Hot3ez8yRwVReCb/By6lEzRM0nFlK/lqKrcsNxHCmAZoeXxid4sdFbyiWNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4j5r2z3nYBzRNJ for ; Fri, 16 Oct 2026 16:28:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 411a0 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 16 Oct 2026 16:28:11 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 43c79c64af48 - main - machine/floatingpoing.h: harmonize all arches List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: Commit messages for the main branch of the src repository 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43c79c64af480dad96ba8cf73fb010239dd088d2 Auto-Submitted: auto-generated Date: Fri, 16 Oct 2026 16:28:11 +0000 Message-Id: <6ad2509b.411a0.72cf2968@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=43c79c64af480dad96ba8cf73fb010239dd088d2 commit 43c79c64af480dad96ba8cf73fb010239dd088d2 Author: Konstantin Belousov AuthorDate: 2026-10-02 19:42:07 +0000 Commit: Konstantin Belousov CommitDate: 2026-10-16 16:27:39 +0000 machine/floatingpoing.h: harmonize all arches Reported by: fluffy Reviewed by: jhibbits (previous version) Discussed with: imp Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D60255 --- sys/amd64/include/floatingpoint.h | 36 ++---------------------------------- sys/arm/include/floatingpoint.h | 35 ++--------------------------------- sys/arm64/include/floatingpoint.h | 8 ++++++++ sys/i386/include/floatingpoint.h | 36 ++---------------------------------- sys/powerpc/include/floatingpoint.h | 31 ++----------------------------- sys/riscv/include/floatingpoint.h | 8 ++++++++ 6 files changed, 24 insertions(+), 130 deletions(-) diff --git a/sys/amd64/include/floatingpoint.h b/sys/amd64/include/floatingpoint.h index f077ff1037a8..af20673e4342 100644 --- a/sys/amd64/include/floatingpoint.h +++ b/sys/amd64/include/floatingpoint.h @@ -1,42 +1,10 @@ -/*- - * SPDX-License-Identifier: BSD-4-Clause - * - * Copyright (c) 1993 Andrew Moore, Talke Studio - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. +/* + * This file is in the public domain. */ #ifndef _FLOATINGPOINT_H_ #define _FLOATINGPOINT_H_ -#include #include #endif /* !_FLOATINGPOINT_H_ */ diff --git a/sys/arm/include/floatingpoint.h b/sys/arm/include/floatingpoint.h index fea32f412b6a..af20673e4342 100644 --- a/sys/arm/include/floatingpoint.h +++ b/sys/arm/include/floatingpoint.h @@ -1,36 +1,5 @@ -/*- - * SPDX-License-Identifier: BSD-4-Clause - * - * Copyright (c) 1993 Andrew Moore, Talke Studio - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. +/* + * This file is in the public domain. */ #ifndef _FLOATINGPOINT_H_ diff --git a/sys/arm64/include/floatingpoint.h b/sys/arm64/include/floatingpoint.h index 7569ce3f7f27..af20673e4342 100644 --- a/sys/arm64/include/floatingpoint.h +++ b/sys/arm64/include/floatingpoint.h @@ -1,2 +1,10 @@ +/* + * This file is in the public domain. + */ + +#ifndef _FLOATINGPOINT_H_ +#define _FLOATINGPOINT_H_ #include + +#endif /* !_FLOATINGPOINT_H_ */ diff --git a/sys/i386/include/floatingpoint.h b/sys/i386/include/floatingpoint.h index f077ff1037a8..af20673e4342 100644 --- a/sys/i386/include/floatingpoint.h +++ b/sys/i386/include/floatingpoint.h @@ -1,42 +1,10 @@ -/*- - * SPDX-License-Identifier: BSD-4-Clause - * - * Copyright (c) 1993 Andrew Moore, Talke Studio - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. +/* + * This file is in the public domain. */ #ifndef _FLOATINGPOINT_H_ #define _FLOATINGPOINT_H_ -#include #include #endif /* !_FLOATINGPOINT_H_ */ diff --git a/sys/powerpc/include/floatingpoint.h b/sys/powerpc/include/floatingpoint.h index 9d6558c0539c..af20673e4342 100644 --- a/sys/powerpc/include/floatingpoint.h +++ b/sys/powerpc/include/floatingpoint.h @@ -1,32 +1,5 @@ -/*- - * SPDX-License-Identifier: BSD-3-Clause - * - * Copyright (c) 2004 Suleiman Souhlal - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the author nor the names of any co-contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY DAVID O'BRIEN AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. +/* + * This file is in the public domain. */ #ifndef _FLOATINGPOINT_H_ diff --git a/sys/riscv/include/floatingpoint.h b/sys/riscv/include/floatingpoint.h index 7569ce3f7f27..af20673e4342 100644 --- a/sys/riscv/include/floatingpoint.h +++ b/sys/riscv/include/floatingpoint.h @@ -1,2 +1,10 @@ +/* + * This file is in the public domain. + */ + +#ifndef _FLOATINGPOINT_H_ +#define _FLOATINGPOINT_H_ #include + +#endif /* !_FLOATINGPOINT_H_ */