mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
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 <allanjude@freebsd.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #9666
This commit is contained in:
committed by
Brian Behlendorf
parent
bff8fb395b
commit
b3673342c7
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user