summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-10-01 16:58:57 -0400
committerBrian Behlendorf <[email protected]>2014-10-17 15:11:51 -0700
commit9f36cace4154f7dd855c42aae2eb13a6e1d79362 (patch)
treec9fea34ef091cdf7dd40043af0bfc5b1d5c8cb0c /config
parentd227e114edd65356c928b660c19d6f1f471c9f8d (diff)
Remove kmalloc_node() compatibility code
The kmalloc_node() function has been available since Linux 2.6.12. There is no longer a need to maintain this compatibility code. 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 346c40b64..b1e8d930e 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -27,7 +27,6 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [
SPL_AC_CTL_NAME
SPL_AC_VMALLOC_INFO
SPL_AC_PDE_DATA
- SPL_AC_KMALLOC_NODE
SPL_AC_INODE_I_MUTEX
SPL_AC_MUTEX_OWNER
SPL_AC_MUTEX_OWNER_TASK_STRUCT
@@ -928,25 +927,6 @@ AC_DEFUN([SPL_AC_CTL_NAME], [
])
dnl #
-dnl # 2.6.12 API change,
-dnl # check whether 'kmalloc_node()' is available.
-dnl #
-AC_DEFUN([SPL_AC_KMALLOC_NODE], [
- AC_MSG_CHECKING([whether kmalloc_node() is available])
- SPL_LINUX_TRY_COMPILE([
- #include <linux/slab.h>
- ],[
- void *a __attribute__ ((unused));
- a = kmalloc_node(1, GFP_KERNEL, 0);
- ],[
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_KMALLOC_NODE, 1, [kmalloc_node() is available])
- ],[
- AC_MSG_RESULT(no)
- ])
-])
-
-dnl #
dnl # 2.6.16 API change,
dnl # check whether 'struct inode' has i_mutex
dnl #