summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/amd64
parent139ee566aed85a28300e981896257cc93cbd18b6 (diff)
Add new stub uvm_shutdown() and call it from the right place in MD boot()
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index da8b0b29c99..c190adb165f 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.69 2008/03/29 15:26:47 krw Exp $ */
+/* $OpenBSD: machdep.c,v 1.70 2008/04/09 16:58:10 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */
/*-
@@ -774,8 +774,8 @@ boot(int howto)
delay(4*1000000); /* XXX */
- /* Disable interrupts. */
- splhigh();
+ uvm_shutdown();
+ splhigh(); /* Disable interrupts. */
/* Do a dump if requested. */
if (howto & RB_DUMP)