From 92f5c0454663a139d99ea5e02df8508142157fa5 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 9 Apr 2008 16:58:12 +0000 Subject: Add new stub uvm_shutdown() and call it from the right place in MD boot() --- sys/arch/amd64/amd64/machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/amd64') 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) -- cgit v1.2.3