]> granicus.if.org Git - zfs/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)
committerTony Hutter <hutter2@llnl.gov>
Fri, 22 Feb 2019 17:47:34 +0000 (09:47 -0800)
commite22bfd814960295029ca41c8e116e8d516d3e730
tree51482225f36c0bf7bde55299f089f31637101c3a
parentf45ad7bff6cacb4ca0717a1f6686873136a5aa22
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