Module Name: src
Committed By: skrll
Date: Mon Jun 14 08:55:49 UTC 2021
Modified Files:
src/sys/kern: subr_autoconf.c
Log Message:
Fix UP build
To generate a diff of this commit:
cvs rdiff -u -r1.287 -r1.288 src/sys/kern/subr_autoconf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/subr_autoconf.c
diff -u src/sys/kern/subr_autoconf.c:1.287 src/sys/kern/subr_autoconf.c:1.288
--- src/sys/kern/subr_autoconf.c:1.287 Sun Jun 13 09:30:48 2021
+++ src/sys/kern/subr_autoconf.c Mon Jun 14 08:55:49 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_autoconf.c,v 1.287 2021/06/13 09:30:48 riastradh Exp $ */
+/* $NetBSD: subr_autoconf.c,v 1.288 2021/06/14 08:55:49 skrll Exp $ */
/*
* Copyright (c) 1996, 2000 Christopher G. Demetriou
@@ -79,7 +79,7 @@
#define __SUBR_AUTOCONF_PRIVATE /* see <sys/device.h> */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.287 2021/06/13 09:30:48 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.288 2021/06/14 08:55:49 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -963,7 +963,7 @@ config_cfdata_attach(cfdata_t cf, int sc
if (scannow)
rescan_with_cfdata(cf);
- KERNEL_UNLOCK_ONE();
+ KERNEL_UNLOCK_ONE(NULL);
return 0;
}