summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-10-21 07:59:19 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-10-21 07:59:19 +0000
commit91f59a48506370c8b8376331b571a3d7a8795dfa (patch)
tree086e0da3009e213a8e53bc1460381ee2d7bd9f8d /sys/arch/i386
parent761489b5d4d070f85862c86af811483e7dbdfe88 (diff)
Do not call uvm_swap_finicrypt_all() a second time in dumpsys().
ok tedu@, deraadt@, miod@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/machdep.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 4b8d8b43392..11ffb954ed0 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.575 2015/09/13 12:28:31 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.576 2015/10/21 07:59:18 mpi Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -101,7 +101,6 @@
#include <net/if.h>
#include <uvm/uvm_extern.h>
-#include <uvm/uvm_swap.h>
#include <machine/bus.h>
@@ -2802,10 +2801,6 @@ dumpsys()
return;
printf("\ndumping to dev %x, offset %ld\n", dumpdev, dumplo);
-#ifdef UVM_SWAP_ENCRYPT
- uvm_swap_finicrypt_all();
-#endif
-
error = (*bdevsw[major(dumpdev)].d_psize)(dumpdev);
printf("dump ");
if (error == -1) {