Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2022 18:53:31 GMT
From:      "Alfredo Dal'Ava Junior" <alfredo@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 56e8444a1709 - main - zfs: fixup build on powerpc64le
Message-ID:  <202207081853.268IrVpL060305@gitrepo.freebsd.org>

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

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

commit 56e8444a170934a09e200ee8ced1feccb1d32225
Author:     Alfredo Dal'Ava Junior <alfredo@FreeBSD.org>
AuthorDate: 2022-07-08 21:42:53 +0000
Commit:     Alfredo Dal'Ava Junior <alfredo@FreeBSD.org>
CommitDate: 2022-07-08 21:52:14 +0000

    zfs: fixup build on powerpc64le
    
    This complements 0a7fa9d11b2007331857c9575bd9b77d86c88fe4 removing
    a #warning added intentionally, replacing it by a "TODO" comment.
    
    PR:     265003
---
 sys/contrib/openzfs/module/icp/algs/blake3/blake3_x86-64.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/sys/contrib/openzfs/module/icp/algs/blake3/blake3_x86-64.c b/sys/contrib/openzfs/module/icp/algs/blake3/blake3_x86-64.c
index 505439565069..47070e7a6395 100644
--- a/sys/contrib/openzfs/module/icp/algs/blake3/blake3_x86-64.c
+++ b/sys/contrib/openzfs/module/icp/algs/blake3/blake3_x86-64.c
@@ -75,11 +75,9 @@ static boolean_t blake3_is_sse2_supported(void)
 #if defined(__x86_64)
 	return (kfpu_allowed() && zfs_sse2_available());
 #elif defined(__PPC64__) && defined(__linux__)
+	/* TODO: implement vsx handler or FreeBSD */
 	return (kfpu_allowed() && zfs_vsx_available());
 #else
-#if defined(__PPC64__) && defined(__FreeBSD__)
-#warning FIXME: implement vsx handler for FreeBSD
-#endif
 	return (kfpu_allowed());
 #endif
 }
@@ -144,11 +142,9 @@ static boolean_t blake3_is_sse41_supported(void)
 #if defined(__x86_64)
 	return (kfpu_allowed() && zfs_sse4_1_available());
 #elif defined(__PPC64__) && defined(__linux__)
+	/* TODO: implement vsx handler or FreeBSD */
 	return (kfpu_allowed() && zfs_vsx_available());
 #else
-#if defined(__PPC64__) && defined(__FreeBSD__)
-#warning FIXME: implement vsx handler for FreeBSD
-#endif
 	return (kfpu_allowed());
 #endif
 }



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