mirror of https://github.com/xqemu/xqemu.git
exec: remove dead code
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
7983f435e5
commit
91dbed4ba1
1
exec.c
1
exec.c
|
@ -1179,7 +1179,6 @@ static inline void tb_alloc_page(TranslationBlock *tb,
|
||||||
continue;
|
continue;
|
||||||
prot |= p2->flags;
|
prot |= p2->flags;
|
||||||
p2->flags &= ~PAGE_WRITE;
|
p2->flags &= ~PAGE_WRITE;
|
||||||
page_get_flags(addr);
|
|
||||||
}
|
}
|
||||||
mprotect(g2h(page_addr), qemu_host_page_size,
|
mprotect(g2h(page_addr), qemu_host_page_size,
|
||||||
(prot & PAGE_BITS) & ~PAGE_WRITE);
|
(prot & PAGE_BITS) & ~PAGE_WRITE);
|
||||||
|
|
Loading…
Reference in New Issue