mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00: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 <alexander.motin@TrueNAS.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Alan Somers <asomers@gmail.com> Sponsored by: ConnectWise Closes #17704
This commit is contained in:
parent
a2424312c4
commit
e29bfa5bd0
2 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue