aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zfs_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/zfs_context.h')
-rw-r--r--include/sys/zfs_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h
index 0d41941dd..16df302c8 100644
--- a/include/sys/zfs_context.h
+++ b/include/sys/zfs_context.h
@@ -748,6 +748,12 @@ extern int kmem_cache_reap_active(void);
#define ____cacheline_aligned
+/*
+ * Kernel modules
+ */
+#define __init
+#define __exit
+
#endif /* _KERNEL */
#ifdef __cplusplus