qemu-e2k/include/qom
Andreas Färber 38fcbd3f08 cpu: Replace qemu_for_each_cpu()
It was introduced to loop over CPUs from target-independent code, but
since commit 182735efaf target-independent
CPUState is used.

A loop can be considered more efficient than function calls in a loop,
and CPU_FOREACH() hides implementation details just as well, so use that
instead.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-09-03 12:25:55 +02:00
..
cpu.h cpu: Replace qemu_for_each_cpu() 2013-09-03 12:25:55 +02:00
object.h qom: Introduce instance_post_init hook 2013-08-16 18:44:33 +02:00
qom-qobject.h