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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/taskq.h b/usr/src/uts/common/sys/taskq.h
index 8b601c86a5..7548149ef6 100644
--- a/usr/src/uts/common/sys/taskq.h
+++ b/usr/src/uts/common/sys/taskq.h
@@ -21,6 +21,8 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
#ifndef _SYS_TASKQ_H
@@ -60,7 +62,7 @@ struct proc;
#define TQ_NOALLOC 0x04 /* cannot allocate memory; may fail */
#define TQ_FRONT 0x08 /* Put task at the front of the queue */
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_FAKE_KERNEL)
extern taskq_t *system_taskq;