The branch main has been updated by alfredo:

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

commit 56e8444a170934a09e200ee8ced1feccb1d32225
Author:     Alfredo Dal'Ava Junior <alfr...@freebsd.org>
AuthorDate: 2022-07-08 21:42:53 +0000
Commit:     Alfredo Dal'Ava Junior <alfr...@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
 }

Reply via email to