summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-04-09 16:58:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-04-09 16:58:12 +0000
commit92f5c0454663a139d99ea5e02df8508142157fa5 (patch)
tree4ba5b4fe5d087a1ac8fc9184a3d173a5f4165194 /sys/arch/sparc
parent139ee566aed85a28300e981896257cc93cbd18b6 (diff)
Add new stub uvm_shutdown() and call it from the right place in MD boot()
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c
index 2a5c1a48419..f80420fbcc7 100644
--- a/sys/arch/sparc/sparc/machdep.c
+++ b/sys/arch/sparc/sparc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.114 2007/11/28 16:33:20 martin Exp $ */
+/* $OpenBSD: machdep.c,v 1.115 2008/04/09 16:58:10 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */
/*
@@ -675,6 +675,8 @@ boot(howto)
printf("WARNING: not updating battery clock\n");
}
}
+
+ uvm_shutdown();
(void) splhigh(); /* ??? */
if (howto & RB_DUMP)