aboutsummaryrefslogtreecommitdiff
path: root/hw/collie.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/collie.c')
-rw-r--r--hw/collie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/collie.c b/hw/collie.c
index 42f4310816..e6f8dbfa52 100644
--- a/hw/collie.c
+++ b/hw/collie.c
@@ -54,7 +54,7 @@ static void collie_init(ram_addr_t ram_size,
collie_binfo.kernel_cmdline = kernel_cmdline;
collie_binfo.initrd_filename = initrd_filename;
collie_binfo.board_id = 0x208;
- arm_load_kernel(s->env, &collie_binfo);
+ arm_load_kernel(&s->cpu->env, &collie_binfo);
}
static QEMUMachine collie_machine = {