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_attach_pseudo kernel lock ...
details: https://anonhg.NetBSD.org/src/rev/628120d783ac
branches: trunk
changeset: 375957:628120d783ac
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue May 23 00:31:42 2023 +0000
description:
autoconf(9): Omit config_attach_pseudo kernel lock assertion for now.
Breaks too many things that I didn't test in the branch (cgd, fss,
&c.); let's address all forty-odd cases before turning it on.
diffstat:
sys/kern/subr_autoconf.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 53b0488fbea4 -r 628120d783ac sys/kern/subr_autoconf.c
--- a/sys/kern/subr_autoconf.c Mon May 22 23:03:16 2023 +0000
+++ b/sys/kern/subr_autoconf.c Tue May 23 00:31:42 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_autoconf.c,v 1.311 2023/05/22 14:58:22 riastradh Exp $ */
+/* $NetBSD: subr_autoconf.c,v 1.312 2023/05/23 00:31:42 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.311 2023/05/22 14:58:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.312 2023/05/23 00:31:42 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -1994,8 +1994,6 @@ config_attach_pseudo(cfdata_t cf)
{
device_t dev;
- KASSERT(KERNEL_LOCKED_P());
-
dev = config_attach_pseudo_acquire(cf, NULL);
if (dev == NULL)
return dev;
Home |
Main Index |
Thread Index |
Old Index