mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +03:00
62c034f6d4
Restore the SIMD optimization for 4.19.38 LTS, 4.14.120 LTS, and 5.0 and newer kernels. This commit squashes the following commits from master in to a single commit which can be applied to 0.8.2.10fa2545
- Linux 4.14, 4.19, 5.0+ compat: SIMD save/restoreb88ca2ac
- Enable SIMD for encryption095b5412
- Fix CONFIG_X86_DEBUG_FPU build failuree5db3134
- Linux 5.0 compat: SIMD compatibility Reviewed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> TEST_ZIMPORT_SKIP="yes"
30 lines
841 B
Makefile
30 lines
841 B
Makefile
COMMON_H =
|
|
|
|
KERNEL_H = \
|
|
$(top_srcdir)/include/linux/dcache_compat.h \
|
|
$(top_srcdir)/include/linux/xattr_compat.h \
|
|
$(top_srcdir)/include/linux/vfs_compat.h \
|
|
$(top_srcdir)/include/linux/blkdev_compat.h \
|
|
$(top_srcdir)/include/linux/utsname_compat.h \
|
|
$(top_srcdir)/include/linux/kmap_compat.h \
|
|
$(top_srcdir)/include/linux/simd.h \
|
|
$(top_srcdir)/include/linux/simd_x86.h \
|
|
$(top_srcdir)/include/linux/simd_aarch64.h \
|
|
$(top_srcdir)/include/linux/mod_compat.h \
|
|
$(top_srcdir)/include/linux/page_compat.h \
|
|
$(top_srcdir)/include/linux/compiler_compat.h
|
|
|
|
USER_H =
|
|
|
|
EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
|
|
|
|
if CONFIG_USER
|
|
libzfsdir = $(includedir)/libzfs/linux
|
|
libzfs_HEADERS = $(COMMON_H) $(USER_H)
|
|
endif
|
|
|
|
if CONFIG_KERNEL
|
|
kerneldir = @prefix@/src/zfs-$(VERSION)/include/linux
|
|
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
|
|
endif
|