aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2002-12-01 00:08:14 +0000
committerAlan Cox <alc@FreeBSD.org>2002-12-01 00:08:14 +0000
commite6c90801b3297f4b9e2d8244edd173dad3003624 (patch)
treea922e6c44b58d13dbfa40d47384ccb7aa34ece9c /sys/amd64
parent78f7187d01749aaf65221fc04a22ce70979f3599 (diff)
Notes
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 6424880b58506..5da015ae22e86 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -3035,7 +3035,7 @@ pmap_changebit(vm_page_t m, int bit, boolean_t setem)
return;
s = splvm();
-
+ mtx_assert(&vm_page_queue_mtx, MA_OWNED);
/*
* Loop over all current mappings setting/clearing as appropos If
* setting RO do we need to clear the VAC?
@@ -3129,7 +3129,7 @@ pmap_ts_referenced(vm_page_t m)
return (rtval);
s = splvm();
-
+ mtx_assert(&vm_page_queue_mtx, MA_OWNED);
if ((pv = TAILQ_FIRST(&m->md.pv_list)) != NULL) {
pvf = pv;