diff --git a/module/zcommon/zfs_prop.c b/module/zcommon/zfs_prop.c index fc2ce65810..150d28109a 100644 --- a/module/zcommon/zfs_prop.c +++ b/module/zcommon/zfs_prop.c @@ -514,4 +514,22 @@ EXPORT_SYMBOL(zfs_prop_user); EXPORT_SYMBOL(zfs_prop_index_to_string); EXPORT_SYMBOL(zfs_prop_string_to_index); EXPORT_SYMBOL(zfs_prop_valid_for_type); + +static int __init zcommon_init(void) +{ + return 0; +} + +static void zcommon_fini(void) +{ + return; +} + +module_init(zcommon_init); +module_exit(zcommon_fini); + +MODULE_AUTHOR("Sun Microsystems, Inc"); +MODULE_DESCRIPTION("Generic ZFS support"); +MODULE_LICENSE("CDDL"); + #endif diff --git a/module/zfs/include/sys/zfs_context.h b/module/zfs/include/sys/zfs_context.h index a5be3e1303..effef35ee6 100644 --- a/module/zfs/include/sys/zfs_context.h +++ b/module/zfs/include/sys/zfs_context.h @@ -64,8 +64,6 @@ extern "C" { #include #include -#define CPU_SEQID (CPU->cpu_seqid) - #ifdef __cplusplus } #endif