summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-11-10 05:59:28 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-11-10 05:59:28 +0000
commit19cd783af1fb8d2dca89d74de94d8c2842f5c08f (patch)
tree6e7d3902a2b43f512076bef5459b924e298b1df8
parentfd9ae6a53cf7970b85901c15837953d4b900ca81 (diff)
Do not call uvm_swap_finicrypt_all() a second time in dumpsys().
a change mpi@ committed to all architectures in 2015
-rw-r--r--sys/arch/arm64/arm64/machdep.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/arm64/arm64/machdep.c b/sys/arch/arm64/arm64/machdep.c
index 154bf2d4ebe..0100d4f1321 100644
--- a/sys/arch/arm64/arm64/machdep.c
+++ b/sys/arch/arm64/arm64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.92 2024/07/24 21:24:18 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.93 2024/11/10 05:59:27 jsg Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
@@ -629,10 +629,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) {