summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index d1a066c5ac..9823e355f7 100644
--- a/exec.c
+++ b/exec.c
@@ -1772,7 +1772,7 @@ static void phys_page_for_each(CPUPhysMemoryClient *client)
int i;
for (i = 0; i < P_L1_SIZE; ++i) {
phys_page_for_each_1(client, P_L1_SHIFT / L2_BITS - 1,
- l1_phys_map + 1);
+ l1_phys_map + i);
}
}