aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-10-01 19:58:11 -0400
committerBrian Behlendorf <[email protected]>2014-10-17 15:11:51 -0700
commit44778f41100f88e7458d4deb2335ad09ce0bd0ea (patch)
treebebf3f33775f553de880b4af0d48b641df0a006b /config
parent89a461e70c13c860d336dc36358bb02172ed6346 (diff)
Remove kallsyms_lookup_name() wrapper
After the removable of get_vmalloc_info(), the unused global memory variables, and the optional dcache/icache shrinkers there is no longer a need for the kallsyms compatibility code. This allows us to eliminate another brittle area of the code by removing the kernel upcall this functionality depended on for older kernels. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/spl-build.m441
1 files changed, 0 insertions, 41 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index 8761be485..712ad8470 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -28,7 +28,6 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [
SPL_AC_PDE_DATA
SPL_AC_MUTEX_OWNER
SPL_AC_MUTEX_OWNER_TASK_STRUCT
- SPL_AC_KALLSYMS_LOOKUP_NAME
SPL_AC_USER_PATH_DIR
SPL_AC_SET_FS_PWD
SPL_AC_SET_FS_PWD_WITH_CONST
@@ -47,7 +46,6 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [
SPL_AC_EXPORTED_RWSEM_IS_LOCKED
SPL_AC_KERNEL_FALLOCATE
SPL_AC_KERN_PATH
- SPL_AC_CONFIG_KALLSYMS
SPL_AC_CONFIG_ZLIB_INFLATE
SPL_AC_CONFIG_ZLIB_DEFLATE
SPL_AC_2ARGS_ZLIB_DEFLATE_WORKSPACESIZE
@@ -958,25 +956,6 @@ AC_DEFUN([SPL_AC_MUTEX_OWNER_TASK_STRUCT], [
])
dnl #
-dnl # 2.6.18 API change,
-dnl # kallsyms_lookup_name no longer exported
-dnl #
-AC_DEFUN([SPL_AC_KALLSYMS_LOOKUP_NAME],
- [AC_MSG_CHECKING([whether kallsyms_lookup_name() is available])
- SPL_LINUX_TRY_COMPILE_SYMBOL([
- #include <linux/kallsyms.h>
- ], [
- kallsyms_lookup_name(NULL);
- ], [kallsyms_lookup_name], [], [
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_KALLSYMS_LOOKUP_NAME, 1,
- [kallsyms_lookup_name() is available])
- ], [
- AC_MSG_RESULT(no)
- ])
-])
-
-dnl #
dnl # 3.10 API change,
dnl # PDE is replaced by PDE_DATA
dnl #
@@ -1502,26 +1481,6 @@ AC_DEFUN([SPL_AC_KERN_PATH],
])
dnl #
-dnl # /proc/kallsyms support,
-dnl # Verify the kernel has CONFIG_KALLSYMS support enabled.
-dnl #
-AC_DEFUN([SPL_AC_CONFIG_KALLSYMS], [
- AC_MSG_CHECKING([whether CONFIG_KALLSYMS is defined])
- SPL_LINUX_TRY_COMPILE([
- #if !defined(CONFIG_KALLSYMS)
- #error CONFIG_KALLSYMS not defined
- #endif
- ],[ ],[
- AC_MSG_RESULT([yes])
- ],[
- AC_MSG_RESULT([no])
- AC_MSG_ERROR([
- *** This kernel does not include the required kallsyms support.
- *** Rebuild the kernel with CONFIG_KALLSYMS=y set.])
- ])
-])
-
-dnl #
dnl # zlib inflate compat,
dnl # Verify the kernel has CONFIG_ZLIB_INFLATE support enabled.
dnl #