diff options
author | Brian Behlendorf <[email protected]> | 2017-12-07 10:28:50 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2017-12-07 10:28:50 -0800 |
commit | c28a67733c68b5540968136a7aca9633146afaf9 (patch) | |
tree | 32b640937171299130ba4cef792a8acf400416ec /module/zcommon | |
parent | 674b89342e43bd83659285d730b5b6a98f8b4b48 (diff) |
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: <func+offset>: can't find jump dest instruction at .text
Reviewed-by: Don Brady <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #6928
Diffstat (limited to 'module/zcommon')
-rw-r--r-- | module/zcommon/zfs_fletcher_avx512.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <linux/simd_x86.h> #include <sys/byteorder.h> +#include <sys/frame.h> #include <sys/spa_checksum.h> #include <zfs_fletcher.h> #include <strings.h> @@ -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) |