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/3cabba9a62b6
branches: trunk
changeset: 953297:3cabba9a62b6
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 5c5e1c2a5aa7 -r 3cabba9a62b6 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