]> Git Repo - qemu.git/blobdiff - hw/z2.c
arm_boot: Pass ARMCPU to arm_load_kernel()
[qemu.git] / hw / z2.c
diff --git a/hw/z2.c b/hw/z2.c
index db25cdc1fdaa427f1ef488c66fea58053e956a15..289cee90c41fb3e93a91a3d7819541138a11d2df 100644 (file)
--- 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(&mpu->cpu->env, &z2_binfo);
+        arm_load_kernel(mpu->cpu, &z2_binfo);
     }
 }
 
This page took 0.020771 seconds and 4 git commands to generate.