Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Fix UP build



details:   https://anonhg.NetBSD.org/src/rev/ba8e4d4683e6
branches:  trunk
changeset: 1021710:ba8e4d4683e6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jun 14 08:55:49 2021 +0000

description:
Fix UP build

diffstat:

 sys/kern/subr_autoconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b321711d5aa1 -r ba8e4d4683e6 sys/kern/subr_autoconf.c
--- a/sys/kern/subr_autoconf.c  Mon Jun 14 00:21:09 2021 +0000
+++ b/sys/kern/subr_autoconf.c  Mon Jun 14 08:55:49 2021 +0000
@@ -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 @@
        if (scannow)
                rescan_with_cfdata(cf);
 
-       KERNEL_UNLOCK_ONE();
+       KERNEL_UNLOCK_ONE(NULL);
 
        return 0;
 }



Home | Main Index | Thread Index | Old Index