diff options
author | Brian Behlendorf <[email protected]> | 2014-09-30 18:15:22 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-10-17 15:11:50 -0700 |
commit | 9c91800d199c65c7d893445bae9b9a9a5590c335 (patch) | |
tree | a7a03eeac68a982486f34aeaa857761fa36dba4a /config | |
parent | b38bf6a4e3bb321b1e4fad1be5a77faf22dcdcbc (diff) |
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 <[email protected]>
Diffstat (limited to 'config')
-rw-r--r-- | config/spl-build.m4 | 22 |
1 files changed, 0 insertions, 22 deletions
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 @@ -976,27 +975,6 @@ AC_DEFUN([SPL_AC_SHRINKER_CALLBACK],[ ]) 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 <linux/sysctl.h> - ],[ - #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. dnl # |