aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/vdev_raidz_math_aarch64_neonx2.c
diff options
context:
space:
mode:
authorszubersk <szuberskidamian@gmail.com>2022-11-30 10:27:28 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2022-11-30 21:46:26 +0000
commitfe975048da29c4756bafd9f63a192db17e3acb7c (patch)
tree30c89360b88aeb882e0c5ee14dd5916f9c623747 /module/zfs/vdev_raidz_math_aarch64_neonx2.c
parent3c1e1933b681cb68e0494c09d902e0187673ecc3 (diff)
downloadsrc-fe975048da29c4756bafd9f63a192db17e3acb7c.tar.gz
src-fe975048da29c4756bafd9f63a192db17e3acb7c.zip
Diffstat (limited to 'module/zfs/vdev_raidz_math_aarch64_neonx2.c')
-rw-r--r--module/zfs/vdev_raidz_math_aarch64_neonx2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/zfs/vdev_raidz_math_aarch64_neonx2.c b/module/zfs/vdev_raidz_math_aarch64_neonx2.c
index 0a1f05fd6664..bd9de91a4ba8 100644
--- a/module/zfs/vdev_raidz_math_aarch64_neonx2.c
+++ b/module/zfs/vdev_raidz_math_aarch64_neonx2.c
@@ -210,9 +210,13 @@ DEFINE_GEN_METHODS(aarch64_neonx2);
* If compiled with -O0, gcc doesn't do any stack frame coalescing
* and -Wframe-larger-than=1024 is triggered in debug mode.
*/
+#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic ignored "-Wframe-larger-than="
+#endif
DEFINE_REC_METHODS(aarch64_neonx2);
+#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic pop
+#endif
static boolean_t
raidz_will_aarch64_neonx2_work(void)