Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/common/linux Disable broken workqueue_whoam...



details:   https://anonhg.NetBSD.org/src/rev/097d52b680e4
branches:  trunk
changeset: 835318:097d52b680e4
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 14:10:54 2018 +0000

description:
Disable broken workqueue_whoami garbage.

diffstat:

 sys/external/bsd/common/linux/linux_work.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r cb6f72d28e26 -r 097d52b680e4 sys/external/bsd/common/linux/linux_work.c
--- a/sys/external/bsd/common/linux/linux_work.c        Mon Aug 27 14:10:42 2018 +0000
+++ b/sys/external/bsd/common/linux/linux_work.c        Mon Aug 27 14:10:54 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_work.c,v 1.9 2018/08/27 13:38:51 riastradh Exp $ */
+/*     $NetBSD: linux_work.c,v 1.10 2018/08/27 14:10:54 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.9 2018/08/27 13:38:51 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.10 2018/08/27 14:10:54 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -265,8 +265,10 @@
        TAILQ_INIT(&wq->wq_delayed);
        wq->wq_current_work = NULL;
 
-       workqueue_whoami(wq);
-       KASSERT(wq->wq_lwp != NULL);
+       if (0) {                /* XXX broken garbage */
+               workqueue_whoami(wq);
+               KASSERT(wq->wq_lwp != NULL);
+       }
 
        return wq;
 }



Home | Main Index | Thread Index | Old Index