aboutsummaryrefslogtreecommitdiff
path: root/hw/palm.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-04 00:42:39 +0200
committerAndreas Färber <afaerber@suse.de>2012-06-04 23:00:41 +0200
commit5f4ef08b20ece1b3711bcfb3751efb13986d17e5 (patch)
tree18eb37664743669762b8753d928ec54b04e97be8 /hw/palm.c
parent43824588af2fa77f9586e16ef2f01d1990c6460e (diff)
omap: Use cpu_arm_init() to store ARMCPU in omap_mpu_state_s
Fix tab indentations of comments, add braces, use cpu_reset(). Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/palm.c')
-rw-r--r--hw/palm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/palm.c b/hw/palm.c
index b1252ab1e9..6d818294d2 100644
--- a/hw/palm.c
+++ b/hw/palm.c
@@ -265,7 +265,7 @@ static void palmte_init(ram_addr_t ram_size,
palmte_binfo.kernel_filename = kernel_filename;
palmte_binfo.kernel_cmdline = kernel_cmdline;
palmte_binfo.initrd_filename = initrd_filename;
- arm_load_kernel(cpu->env, &palmte_binfo);
+ arm_load_kernel(&cpu->cpu->env, &palmte_binfo);
}
/* FIXME: We shouldn't really be doing this here. The LCD controller