Module Name: src Committed By: rin Date: Fri Mar 5 06:30:45 UTC 2021
Modified Files: src/sys/arch/evbppc/explora: machdep.c Log Message: Call bus_space_mallocok() appropriately. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/arch/evbppc/explora/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/evbppc/explora/machdep.c diff -u src/sys/arch/evbppc/explora/machdep.c:1.42 src/sys/arch/evbppc/explora/machdep.c:1.43 --- src/sys/arch/evbppc/explora/machdep.c:1.42 Fri Mar 5 06:26:56 2021 +++ src/sys/arch/evbppc/explora/machdep.c Fri Mar 5 06:30:45 2021 @@ -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 @@ cpu_startup(void) 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;