Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern autoconf(9): Omit config_detach kernel lock asserti...
details: https://anonhg.NetBSD.org/src/rev/5c6ff3497c79
branches: trunk
changeset: 375961:5c6ff3497c79
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue May 23 08:16:43 2023 +0000
description:
autoconf(9): Omit config_detach kernel lock assertion too for now.
like in config_attach_pseudo, this assertion almost certainly
indicates real bugs, but let's try to get the tests back and running
again before addressing those.
diffstat:
sys/kern/subr_autoconf.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 0e7e60a5c1b1 -r 5c6ff3497c79 sys/kern/subr_autoconf.c
--- a/sys/kern/subr_autoconf.c Tue May 23 06:43:19 2023 +0000
+++ b/sys/kern/subr_autoconf.c Tue May 23 08:16:43 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_autoconf.c,v 1.312 2023/05/23 00:31:42 riastradh Exp $ */
+/* $NetBSD: subr_autoconf.c,v 1.313 2023/05/23 08:16:43 riastradh Exp $ */
/*
* Copyright (c) 1996, 2000 Christopher G. Demetriou
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.312 2023/05/23 00:31:42 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.313 2023/05/23 08:16:43 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -2319,8 +2319,6 @@ int
config_detach(device_t dev, int flags)
{
- KASSERT(KERNEL_LOCKED_P());
-
device_acquire(dev);
return config_detach_release(dev, flags);
}
Home |
Main Index |
Thread Index |
Old Index