aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/sysmacros.h1
-rw-r--r--include/sys/taskq.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h
index 4838ab3be..9f16ac70f 100644
--- a/include/sys/sysmacros.h
+++ b/include/sys/sysmacros.h
@@ -95,6 +95,7 @@
*/
#define minclsyspri (MAX_RT_PRIO)
#define maxclsyspri (MAX_PRIO-1)
+#define defclsyspri (DEFAULT_PRIO)
#ifndef NICE_TO_PRIO
#define NICE_TO_PRIO(nice) (MAX_RT_PRIO + (nice) + 20)
diff --git a/include/sys/taskq.h b/include/sys/taskq.h
index a43a86da6..5c29e8f0e 100644
--- a/include/sys/taskq.h
+++ b/include/sys/taskq.h
@@ -129,7 +129,7 @@ extern int taskq_member(taskq_t *, void *);
#define taskq_create_proc(name, nthreads, pri, min, max, proc, flags) \
taskq_create(name, nthreads, pri, min, max, flags)
#define taskq_create_sysdc(name, nthreads, min, max, proc, dc, flags) \
- taskq_create(name, nthreads, maxclsyspri, min, max, flags)
+ taskq_create(name, nthreads, defclsyspri, min, max, flags)
int spl_taskq_init(void);
void spl_taskq_fini(void);