summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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!
*/
}