summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-06-17 15:40:55 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-06-17 15:40:55 +0000
commitdb59b8836881080082a2b3c5fbd9ff0279a3234c (patch)
treee06a04560dd0d23d0d7289e96e9d1cca7e37c3a6 /sys/uvm
parent7d2b56b2c8279767ae484998cf2da379994014a3 (diff)
This is embarassing. (I have to start testing the code that I retype from the diffs)
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_swap.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c
index 8f205b7655e..718c42c5ed6 100644
--- a/sys/uvm/uvm_swap.c
+++ b/sys/uvm/uvm_swap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_swap.c,v 1.5 1999/06/04 00:23:17 art Exp $ */
+/* $OpenBSD: uvm_swap.c,v 1.6 1999/06/17 15:40:54 art Exp $ */
/* $NetBSD: uvm_swap.c,v 1.23 1998/12/26 06:25:59 marc Exp $ */
/*
@@ -327,6 +327,12 @@ uvm_swap_init()
NULL, NULL, 0);
if (vndbuf_pool == NULL)
panic("swapinit: pool_create failed");
+
+ /*
+ * Setup the initial swap partition
+ */
+ swapmount();
+
/*
* done!
*/
@@ -1950,11 +1956,6 @@ uvm_swap_aiodone(aio)
splx(s);
/*
- * Setup the initial swap partition
- */
- swapmount();
-
- /*
* done!
*/
}