From c28a67733c68b5540968136a7aca9633146afaf9 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 7 Dec 2017 10:28:50 -0800 Subject: Suppress incorrect objtool warnings Suppress incorrect warnings from versions of objtool which are not aware of x86 EVEX prefix instructions used for AVX512. module/zfs/vdev_raidz_math_avx512bw.o: warning: objtool: : can't find jump dest instruction at .text Reviewed-by: Don Brady Reviewed-by: George Melikov Signed-off-by: Brian Behlendorf Closes #6928 --- module/zcommon/zfs_fletcher_avx512.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'module/zcommon') diff --git a/module/zcommon/zfs_fletcher_avx512.c b/module/zcommon/zfs_fletcher_avx512.c index 2d28ffb11..ed93c1159 100644 --- a/module/zcommon/zfs_fletcher_avx512.c +++ b/module/zcommon/zfs_fletcher_avx512.c @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -107,6 +108,7 @@ fletcher_4_avx512f_native(fletcher_4_ctx_t *ctx, const void *buf, uint64_t size) kfpu_end(); } +STACK_FRAME_NON_STANDARD(fletcher_4_avx512f_native); static void fletcher_4_avx512f_byteswap(fletcher_4_ctx_t *ctx, const void *buf, @@ -150,6 +152,7 @@ fletcher_4_avx512f_byteswap(fletcher_4_ctx_t *ctx, const void *buf, kfpu_end(); } +STACK_FRAME_NON_STANDARD(fletcher_4_avx512f_byteswap); static boolean_t fletcher_4_avx512f_valid(void) -- cgit v1.2.3