mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <don.brady@delphix.com> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #6928
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user