aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/taskq.h
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 /include/sys/taskq.h
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 'include/sys/taskq.h')
-rw-r--r--include/sys/taskq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/taskq.h b/include/sys/taskq.h
index d8578499b..baa96eaa0 100644
--- a/include/sys/taskq.h
+++ b/include/sys/taskq.h
@@ -94,6 +94,10 @@ void spl_taskq_fini(void);
#define taskq_wait(tq) __taskq_wait(tq)
#define taskq_dispatch(tq, f, p, fl) __taskq_dispatch(tq, f, p, fl)
#define taskq_create(n, th, p, mi, ma, fl) __taskq_create(n, th, p, mi, ma, fl)
+#define taskq_create_proc(n, th, p, mi, ma, pr, fl) \
+ __taskq_create(n, th, p, mi, ma, fl)
+#define taskq_create_sysdc(n, th, mi, ma, pr, dc, fl) \
+ __taskq_create(n, th, maxclsyspri, mi, ma, fl)
#define taskq_destroy(tq) __taskq_destroy(tq)
#endif /* _SPL_TASKQ_H */