summaryrefslogtreecommitdiffstats
path: root/hw/z2.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/z2.c')
-rw-r--r--hw/z2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/z2.c b/hw/z2.c
index 654ac55..9dd83ff 100644
--- a/hw/z2.c
+++ b/hw/z2.c
@@ -363,7 +363,7 @@ static void z2_init(ram_addr_t ram_size,
z2_binfo.kernel_cmdline = kernel_cmdline;
z2_binfo.initrd_filename = initrd_filename;
z2_binfo.board_id = 0x6dd;
- arm_load_kernel(cpu->env, &z2_binfo);
+ arm_load_kernel(&cpu->cpu->env, &z2_binfo);
}
}
OpenPOWER on IntegriCloud