spapr_hcall: Replace open-coded CPU loop with qemu_get_cpu()
authorAndreas Färber <afaerber@suse.de>
Fri, 15 Feb 2013 15:43:08 +0000 (16:43 +0100)
committerAndreas Färber <afaerber@suse.de>
Sat, 16 Feb 2013 13:51:00 +0000 (14:51 +0100)
commit5353d03dd7917875b46ff03e0d9e2935770f5e9d
tree5a9fe174456c31f83549199b6f8efe96d77d51ca
parent912ebe10eff6cf7e05f908a44283033c1c0270a0
spapr_hcall: Replace open-coded CPU loop with qemu_get_cpu()

The helper functions all access ppc-specific fields only so don't bother
to change arguments to PowerPCCPU and use env_ptr instead.

No functional change.

Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/spapr_hcall.c