Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/explora Call bus_space_mallocok() appropriat...



details:   https://anonhg.NetBSD.org/src/rev/6443beb6174c
branches:  trunk
changeset: 960008:6443beb6174c
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Mar 05 06:30:45 2021 +0000

description:
Call bus_space_mallocok() appropriately.

diffstat:

 sys/arch/evbppc/explora/machdep.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 04c06e5d5098 -r 6443beb6174c sys/arch/evbppc/explora/machdep.c
--- a/sys/arch/evbppc/explora/machdep.c Fri Mar 05 06:26:56 2021 +0000
+++ b/sys/arch/evbppc/explora/machdep.c Fri Mar 05 06:30:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.42 2021/03/05 06:26:56 rin Exp $ */
+/*     $NetBSD: machdep.c,v 1.43 2021/03/05 06:30:45 rin Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.42 2021/03/05 06:26:56 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.43 2021/03/05 06:30:45 rin Exp $");
 
 #include "opt_explora.h"
 #include "opt_modular.h"
@@ -168,6 +168,11 @@
        prop_object_release(pn);
 
        /*
+        * Now that we have VM, malloc()s are OK in bus_space.
+        */
+       bus_space_mallocok();
+
+       /*
         * no fake mapiodev
         */
        fake_mapiodev = 0;



Home | Main Index | Thread Index | Old Index