mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
exec: drop useless #if
This code is only compiled for softmmu targets. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2a8e749909
commit
ae4e43e80f
1 changed files with 0 additions and 2 deletions
2
exec.c
2
exec.c
|
@ -1430,10 +1430,8 @@ static void notdirty_mem_write(void *opaque, hwaddr ram_addr,
|
||||||
int dirty_flags;
|
int dirty_flags;
|
||||||
dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr);
|
dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr);
|
||||||
if (!(dirty_flags & CODE_DIRTY_FLAG)) {
|
if (!(dirty_flags & CODE_DIRTY_FLAG)) {
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
|
||||||
tb_invalidate_phys_page_fast(ram_addr, size);
|
tb_invalidate_phys_page_fast(ram_addr, size);
|
||||||
dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr);
|
dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
switch (size) {
|
switch (size) {
|
||||||
case 1:
|
case 1:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue