diff --git a/exec.c b/exec.c index 5dc98bdeefaa268f1fc1abda9e7d9d9bddc5bf86..091620894cc7f8076750f01630d0ed28b6ce064f 100644 --- a/exec.c +++ b/exec.c @@ -1179,7 +1179,6 @@ static inline void tb_alloc_page(TranslationBlock *tb, continue; prot |= p2->flags; p2->flags &= ~PAGE_WRITE; - page_get_flags(addr); } mprotect(g2h(page_addr), qemu_host_page_size, (prot & PAGE_BITS) & ~PAGE_WRITE);