summaryrefslogtreecommitdiff
path: root/hw/spapr_iommu.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-03 06:23:01 +0200
committerAndreas Färber <afaerber@suse.de>2012-10-31 01:02:46 +0100
commitb13ce26d3e8c6682044ae84920f2417b30ce356b (patch)
tree18b7bc8cf52368a7852d0bfb255f41fe3eb1f005 /hw/spapr_iommu.c
parentaa100fa4c9901c6a88d24f48d485dbe0147b317d (diff)
downloadqemu-b13ce26d3e8c6682044ae84920f2417b30ce356b.tar.gz
spapr: Pass PowerPCCPU to hypercalls
Needed for changing cpu_has_work() argument type to CPUState, used in h_cede(). Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/spapr_iommu.c')
-rw-r--r--hw/spapr_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr_iommu.c b/hw/spapr_iommu.c
index 86dc8f92e2..02d78ccf28 100644
--- a/hw/spapr_iommu.c
+++ b/hw/spapr_iommu.c
@@ -204,7 +204,7 @@ static target_ulong put_tce_emu(sPAPRTCETable *tcet, target_ulong ioba,
return H_SUCCESS;
}
-static target_ulong h_put_tce(CPUPPCState *env, sPAPREnvironment *spapr,
+static target_ulong h_put_tce(PowerPCCPU *cpu, sPAPREnvironment *spapr,
target_ulong opcode, target_ulong *args)
{
target_ulong liobn = args[0];