diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-03 06:13:14 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-10-31 01:02:45 +0100 |
commit | aa100fa4c9901c6a88d24f48d485dbe0147b317d (patch) | |
tree | 21dc0254c23e767ad6b1a58fa0859a50a6240403 /hw/spapr.c | |
parent | 1b14670a38a2265d3dd573b5e2d611621a5929f0 (diff) | |
download | qemu-aa100fa4c9901c6a88d24f48d485dbe0147b317d.zip qemu-aa100fa4c9901c6a88d24f48d485dbe0147b317d.tar.gz qemu-aa100fa4c9901c6a88d24f48d485dbe0147b317d.tar.bz2 |
spapr: Pass PowerPCCPU to spapr_hypercall()
Needed for changing the hypercall handlers' argument type to PowerPCCPU.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/spapr.c')
-rw-r--r-- | hw/spapr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -584,7 +584,7 @@ static void emulate_spapr_hypercall(PowerPCCPU *cpu) hcall_dprintf("Hypercall made with MSR[PR]=1\n"); env->gpr[3] = H_PRIVILEGE; } else { - env->gpr[3] = spapr_hypercall(env, env->gpr[3], &env->gpr[4]); + env->gpr[3] = spapr_hypercall(cpu, env->gpr[3], &env->gpr[4]); } } |