zfs: fixup build on powerpc64le
This complements 0a7fa9d11b2007331857c9575bd9b77d86c88fe4 removing a #warning added intentionally, replacing it by a "TODO" comment. PR: 265003
This commit is contained in:
parent
c261510ef5
commit
56e8444a17
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user