Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/walnut Use genppc_cpu_configure().



details:   https://anonhg.NetBSD.org/src/rev/7bdef92bd607
branches:  trunk
changeset: 954116:7bdef92bd607
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Mar 29 13:49:15 2021 +0000

description:
Use genppc_cpu_configure().

diffstat:

 sys/arch/evbppc/walnut/autoconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2ea881dd67e4 -r 7bdef92bd607 sys/arch/evbppc/walnut/autoconf.c
--- a/sys/arch/evbppc/walnut/autoconf.c Mon Mar 29 13:38:31 2021 +0000
+++ b/sys/arch/evbppc/walnut/autoconf.c Mon Mar 29 13:49:15 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.24 2021/03/29 13:38:31 rin Exp $        */
+/*     $NetBSD: autoconf.c,v 1.25 2021/03/29 13:49:15 rin Exp $        */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.24 2021/03/29 13:38:31 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.25 2021/03/29 13:49:15 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -71,7 +71,7 @@
        if (config_rootfound("plb", __UNCONST(&local_plb_devs)) == NULL)
                panic("configure: plb not configured");
 
-       (void)spl0();
+       genppc_cpu_configure();
 }
 
 void



Home | Main Index | Thread Index | Old Index