aboutsummaryrefslogtreecommitdiffstats
path: root/spl_config.h.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-11-09 12:29:51 -0800
committerBrian Behlendorf <[email protected]>2011-11-09 16:51:25 -0800
commit12ff95ff579d0203790aff69632c7ab12ce56140 (patch)
treefac52bd30a7fc2f1589c5192788bc0b656abd24a /spl_config.h.in
parentb8b6e4c453929596b630fa1cca1ee26a532a2ab4 (diff)
Linux 3.1 compat, kern_path_parent()
Prior to Linux 3.1 the kern_path_parent symbol was exported for use by kernel modules. As of Linux 3.1 it is now longer easily available. To handle this case the spl will now dynamically look up address of the missing symbol at module load time. Signed-off-by: Brian Behlendorf <[email protected]> Issue #52
Diffstat (limited to 'spl_config.h.in')
-rw-r--r--spl_config.h.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/spl_config.h.in b/spl_config.h.in
index 97f0e06f3..612205969 100644
--- a/spl_config.h.in
+++ b/spl_config.h.in
@@ -115,7 +115,10 @@
#undef HAVE_KALLSYMS_LOOKUP_NAME
/* kern_path_parent() is available */
-#undef HAVE_KERN_PATH_PARENT
+#undef HAVE_KERN_PATH_PARENT_HEADER
+
+/* kern_path_parent() is available */
+#undef HAVE_KERN_PATH_PARENT_SYMBOL
/* kmalloc_node() is available */
#undef HAVE_KMALLOC_NODE