On Thu, Jan 23, 2020 at 12:38:33PM +0100, Igor Mammedov wrote: > Signed-off-by: Igor Mammedov <imamm...@redhat.com> > Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>
Acked-by: David Gibson <da...@gibson.dopbear.id.au> > --- > CC: da...@gibson.dropbear.id.au > CC: qemu-...@nongnu.org > CC: edgar.igles...@gmail.com > --- > hw/ppc/virtex_ml507.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/hw/ppc/virtex_ml507.c b/hw/ppc/virtex_ml507.c > index 6862552..651d8db 100644 > --- a/hw/ppc/virtex_ml507.c > +++ b/hw/ppc/virtex_ml507.c > @@ -89,10 +89,7 @@ static void mmubooke_create_initial_mapping(CPUPPCState > *env, > tlb->PID = 0; > } > > -static PowerPCCPU *ppc440_init_xilinx(ram_addr_t *ram_size, > - int do_init, > - const char *cpu_type, > - uint32_t sysclk) > +static PowerPCCPU *ppc440_init_xilinx(const char *cpu_type, uint32_t sysclk) > { > PowerPCCPU *cpu; > CPUPPCState *env; > @@ -213,7 +210,7 @@ static void virtex_init(MachineState *machine) > int i; > > /* init CPUs */ > - cpu = ppc440_init_xilinx(&ram_size, 1, machine->cpu_type, 400000000); > + cpu = ppc440_init_xilinx(machine->cpu_type, 400000000); > env = &cpu->env; > > if (env->mmu_model != POWERPC_MMU_BOOKE) { -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature