summaryrefslogtreecommitdiffstats
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.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h
index 18d9b25a3..8b31bbc08 100644
--- a/include/sys/zfs_context.h
+++ b/include/sys/zfs_context.h
@@ -64,7 +64,7 @@
#include <sys/procfs_list.h>
#include <linux/dcache_compat.h>
#include <linux/utsname_compat.h>
-#include <linux/mod_compat.h>
+#include <sys/mod.h>
#include <sys/sysmacros.h>
#else /* _KERNEL */
@@ -106,6 +106,7 @@
#include <sys/resource.h>
#include <sys/byteorder.h>
#include <sys/list.h>
+#include <sys/mod.h>
#include <sys/uio.h>
#include <sys/zfs_debug.h>
#include <sys/kstat.h>
@@ -207,11 +208,6 @@ typedef struct zfs_kernel_param {
getfunc, perm, desc)
/*
- * Exported symbols
- */
-#define EXPORT_SYMBOL(x)
-
-/*
* Threads.
*/
typedef pthread_t kthread_t;