aboutsummaryrefslogtreecommitdiffstats
path: root/module/zcommon/zfs_fletcher.c
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-12-03 09:56:15 -0800
committerBrian Behlendorf <[email protected]>2019-12-03 09:56:15 -0800
commitb3673342c79b65c441c98a8161ffbf136d497c2f (patch)
tree1b79c2e1faf3e9dd6086ef53a5fcec1694627efb /module/zcommon/zfs_fletcher.c
parentbff8fb395b1f2b84a47f8245dd43f4945cab8e77 (diff)
Wrap module_param_call() routines under __linux__
The module_param_call() functionality is currently still Linux-specific and should be wrapped accordingly. Reviewed-by: Allan Jude <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9666
Diffstat (limited to 'module/zcommon/zfs_fletcher.c')
-rw-r--r--module/zcommon/zfs_fletcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zcommon/zfs_fletcher.c b/module/zcommon/zfs_fletcher.c
index f955dc8d9..18998bcee 100644
--- a/module/zcommon/zfs_fletcher.c
+++ b/module/zcommon/zfs_fletcher.c
@@ -886,7 +886,7 @@ zio_abd_checksum_func_t fletcher_4_abd_ops = {
};
-#if defined(_KERNEL)
+#if defined(_KERNEL) && defined(__linux__)
static int
fletcher_4_param_get(char *buffer, zfs_kernel_param_t *unused)