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/amd64 | |
parent | 761489b5d4d070f85862c86af811483e7dbdfe88 (diff) |
Do not call uvm_swap_finicrypt_all() a second time in dumpsys().
ok tedu@, deraadt@, miod@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index 10cffbc378b..c2221615fc4 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.216 2015/08/30 10:05:09 yasuoka Exp $ */ +/* $OpenBSD: machdep.c,v 1.217 2015/10/21 07:59:17 mpi Exp $ */ /* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */ /*- @@ -914,10 +914,6 @@ dumpsys(void) printf("\ndumping to dev %u,%u offset %ld\n", major(dumpdev), minor(dumpdev), dumplo); -#ifdef UVM_SWAP_ENCRYPT - uvm_swap_finicrypt_all(); -#endif - error = (*bdevsw[major(dumpdev)].d_psize)(dumpdev); printf("dump "); if (error == -1) { |