summaryrefslogtreecommitdiffstats
path: root/sys/sys/_task.h
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2016-05-21 14:51:49 +0000
committeravg <avg@FreeBSD.org>2016-05-21 14:51:49 +0000
commit0dbe97e8b21e8729278d20473e77e0cbf37e271c (patch)
treeb45a88a913819b60c3657a17f4b7dc8b9ef5fe68 /sys/sys/_task.h
parenta9b92aa58d7925328530f380fc9e347591ccba30 (diff)
downloadFreeBSD-src-0dbe97e8b21e8729278d20473e77e0cbf37e271c.zip
FreeBSD-src-0dbe97e8b21e8729278d20473e77e0cbf37e271c.tar.gz
fix loss of taskqueue wakeups (introduced in r300113)
Submitted by: kmacy Tested by: dchagin
Diffstat (limited to 'sys/sys/_task.h')
-rw-r--r--sys/sys/_task.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/_task.h b/sys/sys/_task.h
index 4cfa171..ce89781 100644
--- a/sys/sys/_task.h
+++ b/sys/sys/_task.h
@@ -45,8 +45,7 @@ typedef void task_fn_t(void *context, int pending);
struct task {
STAILQ_ENTRY(task) ta_link; /* (q) link for queue */
- uint8_t ta_pending; /* (q) count times queued */
- uint8_t ta_flags; /* (q) flags */
+ uint16_t ta_pending; /* (q) count times queued */
u_short ta_priority; /* (c) Priority */
task_fn_t *ta_func; /* (c) task handler */
void *ta_context; /* (c) argument for handler */
OpenPOWER on IntegriCloud