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/fb3c7bc1605d
branches:  trunk
changeset: 983922:fb3c7bc1605d
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 89a80221ff52 -r fb3c7bc1605d 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