summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/taskq.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/taskq.h')
-rw-r--r--usr/src/uts/common/sys/taskq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/taskq.h b/usr/src/uts/common/sys/taskq.h
index 87c68d22f6..0fd72bd891 100644
--- a/usr/src/uts/common/sys/taskq.h
+++ b/usr/src/uts/common/sys/taskq.h
@@ -63,6 +63,8 @@ struct proc;
#define TQ_NOALLOC 0x04 /* cannot allocate memory; may fail */
#define TQ_FRONT 0x08 /* Put task at the front of the queue */
+#define TASKQID_INVALID ((taskqid_t)0)
+
#if defined(_KERNEL) || defined(_FAKE_KERNEL)
extern taskq_t *system_taskq;