commit | ba7d3d1858c257e39b47f7f12fa2016ffd960b11 | [log] [tgz] |
---|---|---|
author | Alex Bennée <alex.bennee@linaro.org> | Thu Jan 12 15:02:50 2017 +0000 |
committer | Alex Bennée <alex.bennee@linaro.org> | Fri Jan 13 14:24:36 2017 +0000 |
tree | 69a55a615f2958f75d8bfd99352ed2c91fbf9379 | |
parent | 1f5c00cfdb8114c1e3a13426588ceb64f82c9ddb [diff] |
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>