aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/spl/sys/proc.h4
-rw-r--r--module/spl/spl-kstat.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/spl/sys/proc.h b/include/spl/sys/proc.h
index 287683920..05c44bca5 100644
--- a/include/spl/sys/proc.h
+++ b/include/spl/sys/proc.h
@@ -27,6 +27,10 @@
#include <linux/proc_fs.h>
+#ifndef HAVE_PDE_DATA
+#define PDE_DATA(x) (PDE(x)->data)
+#endif
+
extern struct proc_dir_entry *proc_spl_kstat;
int spl_proc_init(void);
diff --git a/module/spl/spl-kstat.c b/module/spl/spl-kstat.c
index feff31e6c..1f67bf157 100644
--- a/module/spl/spl-kstat.c
+++ b/module/spl/spl-kstat.c
@@ -30,10 +30,6 @@
#include <sys/cmn_err.h>
#include <sys/sysmacros.h>
-#ifndef HAVE_PDE_DATA
-#define PDE_DATA(x) (PDE(x)->data)
-#endif
-
static kmutex_t kstat_module_lock;
static struct list_head kstat_module_list;
static kid_t kstat_id;