vdev_raidz_math_aarch64_neonx2.c: suppress diagnostic only for GCC
Signed-off-by: szubersk <szuberskidamian@gmail.com>
This commit is contained in:
parent
d50ce5c9ec
commit
4767037bcf
|
@ -210,9 +210,13 @@ DEFINE_GEN_METHODS(aarch64_neonx2);
|
||||||
* If compiled with -O0, gcc doesn't do any stack frame coalescing
|
* If compiled with -O0, gcc doesn't do any stack frame coalescing
|
||||||
* and -Wframe-larger-than=1024 is triggered in debug mode.
|
* and -Wframe-larger-than=1024 is triggered in debug mode.
|
||||||
*/
|
*/
|
||||||
|
#if defined(__GNUC__) && !defined(__clang__)
|
||||||
#pragma GCC diagnostic ignored "-Wframe-larger-than="
|
#pragma GCC diagnostic ignored "-Wframe-larger-than="
|
||||||
|
#endif
|
||||||
DEFINE_REC_METHODS(aarch64_neonx2);
|
DEFINE_REC_METHODS(aarch64_neonx2);
|
||||||
|
#if defined(__GNUC__) && !defined(__clang__)
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
static boolean_t
|
static boolean_t
|
||||||
raidz_will_aarch64_neonx2_work(void)
|
raidz_will_aarch64_neonx2_work(void)
|
||||||
|
|
Loading…
Reference in New Issue