diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-21 07:59:19 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-21 07:59:19 +0000 |
commit | 91f59a48506370c8b8376331b571a3d7a8795dfa (patch) | |
tree | 086e0da3009e213a8e53bc1460381ee2d7bd9f8d /sys/arch/i386 | |
parent | 761489b5d4d070f85862c86af811483e7dbdfe88 (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.c | 7 |
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) { |