mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Fix warnings about sha2_is_supported on FreeBSD/i386
This is one problem currently preventing OpenZFS from building on FreeBSD/i386. Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Alan Somers <[email protected]> Sponsored by: ConnectWise Closes #17704
This commit is contained in:
1 parent
a2424312c4
commit
e29bfa5bd0
2 files changed
+6
No files matched your search
@@ -38,11 +38,14 @@
|
||||
kfpu_begin(); E(s, d, b); kfpu_end(); \
|
||||
}
|
||||
|
||||
#if defined(__x86_64) || defined(__aarch64__) || defined(__arm__) || \
|
||||
defined(__PPC64__)
|
||||
/* some implementation is always okay */
|
||||
static inline boolean_t sha2_is_supported(void)
|
||||
{
|
||||
return (B_TRUE);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(__x86_64)
|
||||
|
||||
|
||||
@@ -38,11 +38,14 @@
|
||||
kfpu_begin(); E(s, d, b); kfpu_end(); \
|
||||
}
|
||||
|
||||
#if defined(__x86_64) || defined(__aarch64__) || defined(__arm__) || \
|
||||
defined(__aarch64__) || defined(__arm__) || defined(__PPC64__)
|
||||
/* some implementation is always okay */
|
||||
static inline boolean_t sha2_is_supported(void)
|
||||
{
|
||||
return (B_TRUE);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(__x86_64)
|
||||
|
||||
|
||||
Reference in new issue
Block a user