]> git.proxmox.com Git - mirror_qemu.git/commit
Refactor cpu_has_work/any_cpu_has_work in cpus.c
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 9 Feb 2011 15:29:37 +0000 (16:29 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Feb 2011 14:39:46 +0000 (12:39 -0200)
commit164003228347eb0c27ab6c0e80e2753df55cdbc5
tree9b58ba329ba237412d14334c1588ea2d66d75eba
parent7e97cd88148876bad36ee7c66d526dcaed328d0d
Refactor cpu_has_work/any_cpu_has_work in cpus.c

Avoid duplicate use of the function name cpu_has_work, it's confusing,
also their scope. Refactor cpu_has_work to cpu_thread_is_idle and do the
same with any_cpu_has_work.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
cpus.c