diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-14 02:39:57 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-06-11 00:23:04 +0200 |
commit | 3aaa8dfae955d7bec462cc4e2fce185ef6d41b5a (patch) | |
tree | 0cdd65f87cc18ed8d8f1a7476a6348b848588dc2 /hw/musicpal.c | |
parent | 17c2f0bf37182d46d66998bf037b2cac520d2183 (diff) |
arm_boot: Pass ARMCPU to arm_load_kernel()
In particular this simplifies the &s->mpu->cpu->env expression again.
first_cpu and ->next_cpu are expected to be QOM'ified later.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Igor Mitsyanko <i.mitsyanko@samsung.com> (for exynos)
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/musicpal.c')
-rw-r--r-- | hw/musicpal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/musicpal.c b/hw/musicpal.c index b7fed39a93..cef847e801 100644 --- a/hw/musicpal.c +++ b/hw/musicpal.c @@ -1651,7 +1651,7 @@ static void musicpal_init(ram_addr_t ram_size, musicpal_binfo.kernel_filename = kernel_filename; musicpal_binfo.kernel_cmdline = kernel_cmdline; musicpal_binfo.initrd_filename = initrd_filename; - arm_load_kernel(&cpu->env, &musicpal_binfo); + arm_load_kernel(cpu, &musicpal_binfo); } static QEMUMachine musicpal_machine = { |