aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-10-02 14:15:19 -0400
committerBrian Behlendorf <[email protected]>2014-10-17 15:11:52 -0700
commit0fac9c9e6d8d74f56be09cd84ffb30197d2dcaad (patch)
tree15f73761c847c75fae2de4e62b6b53e3d90f885c /config
parente03119e86f695851f68b9a52de64075a89fb41bd (diff)
Remove proc_handler() wrapper
As of Linux 2.6.32 the proc handlers where updated to expect only five arguments. Therefore there is no longer a need to maintain this compatibility code and this infrastructure can be simplified. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/spl-build.m420
1 files changed, 0 insertions, 20 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index 49cbfb624..253a51390 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -37,7 +37,6 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [
SPL_AC_FS_STRUCT_SPINLOCK
SPL_AC_KUIDGID_T
SPL_AC_PUT_TASK_STRUCT
- SPL_AC_5ARGS_PROC_HANDLER
SPL_AC_KVASPRINTF
SPL_AC_EXPORTED_RWSEM_IS_LOCKED
SPL_AC_KERNEL_FALLOCATE
@@ -1182,25 +1181,6 @@ AC_DEFUN([SPL_AC_PUT_TASK_STRUCT],
])
dnl #
-dnl # 2.6.32 API change,
-dnl # Unused 'struct file *' removed from prototype.
-dnl #
-AC_DEFUN([SPL_AC_5ARGS_PROC_HANDLER], [
- AC_MSG_CHECKING([whether proc_handler() wants 5 args])
- SPL_LINUX_TRY_COMPILE([
- #include <linux/sysctl.h>
- ],[
- proc_dostring(NULL, 0, NULL, NULL, NULL);
- ],[
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_5ARGS_PROC_HANDLER, 1,
- [proc_handler() wants 5 args])
- ],[
- AC_MSG_RESULT(no)
- ])
-])
-
-dnl #
dnl # 2.6.x API change,
dnl # kvasprintf() function added.
dnl #