]> git.proxmox.com Git - mirror_qemu.git/commit - cputlb.c
cputlb: move CPU_LOOP() for tlb_reset() to exec.c
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Fri, 11 Sep 2015 05:39:41 +0000 (22:39 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Sep 2015 15:33:33 +0000 (17:33 +0200)
commit9a13565d52bfd321934fb44ee004bbaf5f5913a8
tree8255a8d1fead4dfa15e021ef2343ad312d65ba70
parent5f12a788c04cf36442f3be00ebf6fdc3b8c8c4ba
cputlb: move CPU_LOOP() for tlb_reset() to exec.c

To prepare for multi-arch, cputlb.c should only have awareness of one
single architecture. This means it should not have access to the full
CPU lists which may be heterogeneous. Instead, push the CPU_LOOP() up
to the one and only caller in exec.c.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Message-Id: <db06dc6c49f8970caaf116d0385f00ee10a56f2f.1441614289.git.crosthwaite.peter@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cputlb.c
exec.c
include/exec/cputlb.h