aboutsummaryrefslogtreecommitdiff
path: root/target-cris
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-04-27 17:00:33 -0300
committerAndreas Färber <afaerber@suse.de>2015-07-09 15:20:39 +0200
commit291135b5da228e58900c120e12354cc0a23608e3 (patch)
tree6eed41ee609dc3dbd3a1509f0a5eccaed39229cf /target-cris
parent7c39163e389e6e6e16965606fb5a26abcdb6ad73 (diff)
downloadqemu-291135b5da228e58900c120e12354cc0a23608e3.zip
qemu-291135b5da228e58900c120e12354cc0a23608e3.tar.gz
qemu-291135b5da228e58900c120e12354cc0a23608e3.tar.bz2
cpu: Reorder cpu->as, cpu->thread_id, cpu->memory_dispatch init
Instead of initializing cpu->as, cpu->thread_id, and reloading memory map while holding cpu_list_lock(), do it earlier, before locking the CPU list and initializing cpu_index. This allows the code handling cpu_index and global CPU list to be isolated from the rest. Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-cris')
0 files changed, 0 insertions, 0 deletions