2013-11-13 21:19:10 +01:00
|
|
|
diff --git a/module/spl/spl-proc.c b/module/spl/spl-proc.c
|
2016-01-13 17:07:30 +01:00
|
|
|
index eb00505..6f38cef 100644
|
2013-11-13 21:19:10 +01:00
|
|
|
--- a/module/spl/spl-proc.c
|
|
|
|
+++ b/module/spl/spl-proc.c
|
2016-01-13 17:07:30 +01:00
|
|
|
@@ -36,7 +36,7 @@
|
|
|
|
#include <linux/uaccess.h>
|
|
|
|
#include <linux/version.h>
|
2013-11-13 21:19:10 +01:00
|
|
|
|
|
|
|
-#if defined(CONSTIFY_PLUGIN) && LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
|
|
|
|
+#if defined(CONSTIFY_PLUGIN)
|
|
|
|
typedef struct ctl_table __no_const spl_ctl_table;
|
|
|
|
#else
|
|
|
|
typedef struct ctl_table spl_ctl_table;
|