]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/exec/exec-all.h
tcg: simplify !CONFIG_TCG handling of tb_invalidate_*
[mirror_qemu.git] / include / exec / exec-all.h
index cb497dee0b5c5a9889b78fd2c0fc7386cff4fb9b..da73e3bfed22b697f25ad5f82630dcf5064c2332 100644 (file)
@@ -412,13 +412,11 @@ static inline uint32_t curr_cflags(void)
 }
 
 /* TranslationBlock invalidate API */
-#if !defined(CONFIG_USER_ONLY) && defined(CONFIG_TCG)
-void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr, MemTxAttrs attrs);
-#else
-void tb_invalidate_phys_addr(target_ulong addr);
-#endif
 #if defined(CONFIG_USER_ONLY)
+void tb_invalidate_phys_addr(target_ulong addr);
 void tb_invalidate_phys_range(target_ulong start, target_ulong end);
+#else
+void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr, MemTxAttrs attrs);
 #endif
 void tb_flush(CPUState *cpu);
 void tb_phys_invalidate(TranslationBlock *tb, tb_page_addr_t page_addr);