aboutsummaryrefslogtreecommitdiffstats
path: root/module/spl/spl-kstat.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-06-11 14:37:46 -0700
committerBrian Behlendorf <[email protected]>2010-06-11 15:57:25 -0700
commitae4c36adce9228eb444c1d5e19f00e83303dbeee (patch)
treeae66b580d1d87436790ade78bd895bcc254459ce /module/spl/spl-kstat.c
parent71b1242e677d1e44d9273f9bbe1206a2184eabf8 (diff)
Cleanly split Linux proc.h (fs) from conflicting Solaris proc.h (process)
Under linux the proc.h header is for the /proc filesystem, and under Solaris the proc/h header if for processes. This patch correctly moves the Linux proc functionality in a linux/proc_compat.h header and leaves the sys/proc.h for use by Solaris. Minor updates were required to all the call sites where it was included of course.
Diffstat (limited to 'module/spl/spl-kstat.c')
-rw-r--r--module/spl/spl-kstat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/spl/spl-kstat.c b/module/spl/spl-kstat.c
index 2b45549d6..433f3e5b0 100644
--- a/module/spl/spl-kstat.c
+++ b/module/spl/spl-kstat.c
@@ -25,6 +25,7 @@
\*****************************************************************************/
#include <sys/kstat.h>
+#include <linux/seq_file.h>
static spinlock_t kstat_lock;
static struct list_head kstat_list;