aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/spl/sys/proc.h4
1 files changed, 4 insertions, 0 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);