aboutsummaryrefslogtreecommitdiffstats
path: root/module/spl/spl-proc.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-proc.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-proc.c')
-rw-r--r--module/spl/spl-proc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/spl/spl-proc.c b/module/spl/spl-proc.c
index 3bc8b40cf..277a92a7a 100644
--- a/module/spl/spl-proc.c
+++ b/module/spl/spl-proc.c
@@ -24,7 +24,11 @@
* Solaris Porting Layer (SPL) Proc Implementation.
\*****************************************************************************/
-#include <sys/proc.h>
+#include <sys/systeminfo.h>
+#include <sys/kstat.h>
+#include <linux/kmod.h>
+#include <linux/seq_file.h>
+#include <linux/proc_compat.h>
#ifdef DEBUG_SUBSYSTEM
#undef DEBUG_SUBSYSTEM