aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-sched.m4
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-03 13:31:43 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:49 -0700
commitd4bbe2ff38e8afdc43bc934a9a1fc0b0cb60a4eb (patch)
treee13b53b51d25cf23b88fdd26506ef23d2702414e /config/kernel-sched.m4
parent714d7666e55aba02c5e2f2ff032c655ae2c7e7a3 (diff)
config: remove HAVE_IO_SCHEDULE_TIMEOUT
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16479
Diffstat (limited to 'config/kernel-sched.m4')
-rw-r--r--config/kernel-sched.m427
1 files changed, 0 insertions, 27 deletions
diff --git a/config/kernel-sched.m4 b/config/kernel-sched.m4
index 17e49fbdf..91c1e91fa 100644
--- a/config/kernel-sched.m4
+++ b/config/kernel-sched.m4
@@ -44,39 +44,12 @@ AC_DEFUN([ZFS_AC_KERNEL_SCHED_SIGNAL_HEADER], [
])
])
-dnl #
-dnl # 3.19 API change
-dnl # The io_schedule_timeout() function is present in all 2.6.32 kernels
-dnl # but it was not exported until Linux 3.19. The RHEL 7.x kernels which
-dnl # are based on a 3.10 kernel do export this symbol.
-dnl #
-AC_DEFUN([ZFS_AC_KERNEL_SRC_IO_SCHEDULE_TIMEOUT], [
- ZFS_LINUX_TEST_SRC([io_schedule_timeout], [
- #include <linux/sched.h>
- ], [
- (void) io_schedule_timeout(1);
- ])
-])
-
-AC_DEFUN([ZFS_AC_KERNEL_IO_SCHEDULE_TIMEOUT], [
- AC_MSG_CHECKING([whether io_schedule_timeout() is available])
- ZFS_LINUX_TEST_RESULT_SYMBOL([io_schedule_timeout],
- [io_schedule_timeout], [], [
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_IO_SCHEDULE_TIMEOUT, 1, [yes])
- ],[
- AC_MSG_RESULT(no)
- ])
-])
-
AC_DEFUN([ZFS_AC_KERNEL_SRC_SCHED], [
ZFS_AC_KERNEL_SRC_SCHED_RT_HEADER
ZFS_AC_KERNEL_SRC_SCHED_SIGNAL_HEADER
- ZFS_AC_KERNEL_SRC_IO_SCHEDULE_TIMEOUT
])
AC_DEFUN([ZFS_AC_KERNEL_SCHED], [
ZFS_AC_KERNEL_SCHED_RT_HEADER
ZFS_AC_KERNEL_SCHED_SIGNAL_HEADER
- ZFS_AC_KERNEL_IO_SCHEDULE_TIMEOUT
])