]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 5.0 compat: Disable vector instructions on 5.0+ kernels
authorTony Hutter <hutter2@llnl.gov>
Sat, 12 Jan 2019 02:01:28 +0000 (18:01 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Jan 2019 18:11:45 +0000 (10:11 -0800)
commit0c593296e98e3ac95f14704e4cee6cedb2134990
tree12adc0a34c8b8e65cd1006cd30c0a51b39e30db2
parented158b19b1dddf26f2bbebb4d0fd21f04fdd5d38
Linux 5.0 compat: Disable vector instructions on 5.0+ kernels

The 5.0 kernel no longer exports the functions we need to do vector
(SSE/SSE2/SSE3/AVX...) instructions.  Disable vector-based checksum
algorithms when building against those kernels.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #8259
config/kernel-fpu.m4
include/linux/simd_x86.h