diff options
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r-- | hw/ppc_prep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 0e5b88ce75..a6915f7e68 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -565,7 +565,7 @@ static void ppc_prep_init (ram_addr_t ram_size, const char *initrd_filename, const char *cpu_model) { - CPUState *env = NULL, *envs[MAX_CPUS]; + CPUState *env = NULL; char *filename; nvram_t nvram; M48t59State *m48t59; @@ -602,7 +602,6 @@ static void ppc_prep_init (ram_addr_t ram_size, cpu_ppc_tb_init(env, 100UL * 1000UL * 1000UL); } qemu_register_reset((QEMUResetHandler*)&cpu_reset, env); - envs[i] = env; } /* allocate RAM */ |