summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/arch/arm64/arm64/pmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm64/arm64/pmap.c b/sys/arch/arm64/arm64/pmap.c
index a3d41083ffd..db6fa21fdbf 100644
--- a/sys/arch/arm64/arm64/pmap.c
+++ b/sys/arch/arm64/arm64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.63 2019/06/01 11:45:01 kettenis Exp $ */
+/* $OpenBSD: pmap.c,v 1.64 2019/07/13 21:16:17 drahn Exp $ */
/*
* Copyright (c) 2008-2009,2014-2016 Dale Rahn <drahn@dalerahn.com>
*
@@ -1497,6 +1497,7 @@ pmap_page_protect(struct vm_page *pg, vm_prot_t prot)
pmap_page_ro(pted->pted_pmap, pted->pted_va, prot);
}
mtx_leave(&pg->mdpage.pv_mtx);
+ return;
}
mtx_enter(&pg->mdpage.pv_mtx);