From 9c91800d199c65c7d893445bae9b9a9a5590c335 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 30 Sep 2014 18:15:22 -0400 Subject: Remove CTL_UNNUMBERED sysctl interface Support for the CTL_UNNUMBERED sysctl interface was removed in Linux 2.6.19. There is no longer any reason to maintain this compatibility code. There also issue any reason to keep around the CTL_NAME macro and helpers so they have been retired. Signed-off-by: Brian Behlendorf --- config/spl-build.m4 | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'config') diff --git a/config/spl-build.m4 b/config/spl-build.m4 index 93834c1ab..08609b80a 100644 --- a/config/spl-build.m4 +++ b/config/spl-build.m4 @@ -27,7 +27,6 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [ SPL_AC_TYPE_ATOMIC64_XCHG SPL_AC_TYPE_UINTPTR_T SPL_AC_SHRINKER_CALLBACK - SPL_AC_CTL_UNNUMBERED SPL_AC_CTL_NAME SPL_AC_VMALLOC_INFO SPL_AC_PDE_DATA @@ -975,27 +974,6 @@ AC_DEFUN([SPL_AC_SHRINKER_CALLBACK],[ EXTRA_KCFLAGS="$tmp_flags" ]) -dnl # -dnl # 2.6.19 API change, -dnl # Use CTL_UNNUMBERED when binary sysctl is not required -dnl # -AC_DEFUN([SPL_AC_CTL_UNNUMBERED], - [AC_MSG_CHECKING([whether unnumbered sysctl support exists]) - SPL_LINUX_TRY_COMPILE([ - #include - ],[ - #ifndef CTL_UNNUMBERED - #error CTL_UNNUMBERED undefined - #endif - ],[ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_CTL_UNNUMBERED, 1, - [unnumbered sysctl support exists]) - ],[ - AC_MSG_RESULT(no) - ]) -]) - dnl # dnl # 2.6.33 API change, dnl # Removed .ctl_name from struct ctl_table. -- cgit v1.2.3