Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/linux Actually insert the del...



details:   https://anonhg.NetBSD.org/src/rev/da84517d762f
branches:  riastradh-drm2
changeset: 788574:da84517d762f
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Dec 30 04:50:39 2013 +0000

description:
Actually insert the delayed work into the workqueue.

diffstat:

 sys/external/bsd/drm2/linux/linux_work.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 58b3058e7c90 -r da84517d762f sys/external/bsd/drm2/linux/linux_work.c
--- a/sys/external/bsd/drm2/linux/linux_work.c  Mon Dec 30 04:50:30 2013 +0000
+++ b/sys/external/bsd/drm2/linux/linux_work.c  Mon Dec 30 04:50:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_work.c,v 1.1.2.3 2013/12/30 04:50:30 riastradh Exp $     */
+/*     $NetBSD: linux_work.c,v 1.1.2.4 2013/12/30 04:50:39 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.1.2.3 2013/12/30 04:50:30 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.1.2.4 2013/12/30 04:50:39 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -520,6 +520,7 @@
                callout_reset(&dw->dw_callout, ticks, &linux_worker_intr, dw);
                dw->work.w_state = WORK_DELAYED;
                dw->work.w_wq = wq;
+               TAILQ_INSERT_HEAD(&wq->wq_delayed, dw, dw_entry);
                break;
 
        case WORK_DELAYED:



Home | Main Index | Thread Index | Old Index