summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/pmap.c2
-rw-r--r--sys/i386/i386/pmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 8aa22d0..97be59c 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -2535,7 +2535,7 @@ pmap_pvdump(pa)
printf("pa %x", pa);
for (pv = TAILQ_FIRST(pa_to_pvh(pa));
pv;
- pv = TAILQ_NEXT(pv->pv_list)) {
+ pv = TAILQ_NEXT(pv, pv_list)) {
#ifdef used_to_be
printf(" -> pmap %x, va %x, flags %x",
pv->pv_pmap, pv->pv_va, pv->pv_flags);
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 8aa22d0..97be59c 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -2535,7 +2535,7 @@ pmap_pvdump(pa)
printf("pa %x", pa);
for (pv = TAILQ_FIRST(pa_to_pvh(pa));
pv;
- pv = TAILQ_NEXT(pv->pv_list)) {
+ pv = TAILQ_NEXT(pv, pv_list)) {
#ifdef used_to_be
printf(" -> pmap %x, va %x, flags %x",
pv->pv_pmap, pv->pv_va, pv->pv_flags);
OpenPOWER on IntegriCloud