From 5f4ef08b20ece1b3711bcfb3751efb13986d17e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Fri, 4 May 2012 00:42:39 +0200 Subject: omap: Use cpu_arm_init() to store ARMCPU in omap_mpu_state_s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix tab indentations of comments, add braces, use cpu_reset(). Signed-off-by: Andreas Färber Acked-by: Peter Maydell --- hw/omap_sx1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/omap_sx1.c') diff --git a/hw/omap_sx1.c b/hw/omap_sx1.c index 4e8ec4a990..c7618c6cdf 100644 --- a/hw/omap_sx1.c +++ b/hw/omap_sx1.c @@ -202,7 +202,7 @@ static void sx1_init(ram_addr_t ram_size, sx1_binfo.kernel_filename = kernel_filename; sx1_binfo.kernel_cmdline = kernel_cmdline; sx1_binfo.initrd_filename = initrd_filename; - arm_load_kernel(cpu->env, &sx1_binfo); + arm_load_kernel(&cpu->cpu->env, &sx1_binfo); } /* TODO: fix next line */ -- cgit v1.2.1