aboutsummaryrefslogtreecommitdiff
path: root/hw/spapr.h
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.h
parentaa100fa4c9901c6a88d24f48d485dbe0147b317d (diff)
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.h')
-rw-r--r--hw/spapr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr.h b/hw/spapr.h
index f11028de9a..efe7f5758f 100644
--- a/hw/spapr.h
+++ b/hw/spapr.h
@@ -286,7 +286,7 @@ extern sPAPREnvironment *spapr;
do { } while (0)
#endif
-typedef target_ulong (*spapr_hcall_fn)(CPUPPCState *env, sPAPREnvironment *spapr,
+typedef target_ulong (*spapr_hcall_fn)(PowerPCCPU *cpu, sPAPREnvironment *spapr,
target_ulong opcode,
target_ulong *args);