mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
2fc44f66ec
Linux kernel 3.17 removes the action function argument from wait_on_bit(). Add autoconf test and compatibility macro to support the new interface. The former "wait_on_bit" interface required an 'action' function to be provided which does the actual waiting. There were over 20 such functions in the kernel, many of them identical, though most cases can be satisfied by one of just two functions: one which uses io_schedule() and one which just uses schedule(). This API change was made to consolidate all of those redundant wait functions. References: torvalds/linux@7431620 Signed-off-by: Ned Bass <bass6@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #378
31 lines
1013 B
Makefile
31 lines
1013 B
Makefile
COMMON_H =
|
|
|
|
KERNEL_H = \
|
|
$(top_srcdir)/include/linux/bitops_compat.h \
|
|
$(top_srcdir)/include/linux/compiler_compat.h \
|
|
$(top_srcdir)/include/linux/delay_compat.h \
|
|
$(top_srcdir)/include/linux/file_compat.h \
|
|
$(top_srcdir)/include/linux/kallsyms_compat.h \
|
|
$(top_srcdir)/include/linux/list_compat.h \
|
|
$(top_srcdir)/include/linux/math64_compat.h \
|
|
$(top_srcdir)/include/linux/mm_compat.h \
|
|
$(top_srcdir)/include/linux/module_compat.h \
|
|
$(top_srcdir)/include/linux/mutex_compat.h \
|
|
$(top_srcdir)/include/linux/proc_compat.h \
|
|
$(top_srcdir)/include/linux/rwsem_compat.h \
|
|
$(top_srcdir)/include/linux/smp_compat.h \
|
|
$(top_srcdir)/include/linux/sysctl_compat.h \
|
|
$(top_srcdir)/include/linux/time_compat.h \
|
|
$(top_srcdir)/include/linux/uaccess_compat.h \
|
|
$(top_srcdir)/include/linux/wait_compat.h \
|
|
$(top_srcdir)/include/linux/zlib_compat.h
|
|
|
|
USER_H =
|
|
|
|
EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
|
|
|
|
if CONFIG_KERNEL
|
|
kerneldir = /usr/src/spl-$(VERSION)/include/linux
|
|
kernel_HEADERS = $(KERNEL_H)
|
|
endif
|