]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
tcg: simplify !CONFIG_TCG handling of tb_invalidate_*
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 12:45:25 +0000 (14:45 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:18 +0000 (15:41 +0200)
commitc40d479207b1bb6569ffde06e9a58e85cd529de0
tree81fff89c3d4f6d56c80e76798fa16de5ac2d41e6
parent3afc969a6ee1b4982796c47f75ca06e18159c52c
tcg: simplify !CONFIG_TCG handling of tb_invalidate_*

There is no need for a stub, since tb_invalidate_phys_addr can be excised
altogether when TCG is disabled.  This is a bit cleaner since it avoids
using code that is clearly specific to user-mode emulation (it calls
mmap_lock/unlock) for the !CONFIG_TCG case.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/stubs/tcg-stub.c
exec.c
include/exec/exec-all.h