diff options
| author | Alex Bennée | 2017-01-12 16:02:50 +0100 |
|---|---|---|
| committer | Alex Bennée | 2017-01-13 15:24:36 +0100 |
| commit | ba7d3d1858c257e39b47f7f12fa2016ffd960b11 (patch) | |
| tree | 69a55a615f2958f75d8bfd99352ed2c91fbf9379 /include/exec | |
| parent | qom/cpu: move tlb_flush to cpu_common_reset (diff) | |
| download | qemu-ba7d3d1858c257e39b47f7f12fa2016ffd960b11.tar.gz qemu-ba7d3d1858c257e39b47f7f12fa2016ffd960b11.tar.xz qemu-ba7d3d1858c257e39b47f7f12fa2016ffd960b11.zip | |
cpu_common_reset: wrap TCG specific code in tcg_enabled()
Both the cpu->tb_jmp_cache and SoftMMU TLB structures are only used
when running TCG code so we might as well skip them for anything else.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
