From 0fac9c9e6d8d74f56be09cd84ffb30197d2dcaad Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 2 Oct 2014 14:15:19 -0400 Subject: 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 --- config/spl-build.m4 | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'config') 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 @@ -1181,25 +1180,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 - ],[ - 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. -- cgit v1.2.3