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/f6c03f816b4b
branches: trunk
changeset: 364705:f6c03f816b4b
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 a99d54c0d212 -r f6c03f816b4b 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