X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=target-openrisc%2Fint_helper.c;h=16cb5abfcd35d3f0bfffb25ce7ba31975598815a;hb=4ff1fac4305f78d9cf987ca8abf3bda7f29c856e;hp=20f9837e6a1988bc4eb0a694306f1ee6913bb757;hpb=1de7afc984b49af164e2619e6850b9732b173b34;p=qemu.git diff --git a/target-openrisc/int_helper.c b/target-openrisc/int_helper.c index 20f9837e6..16cb5abfc 100644 --- a/target-openrisc/int_helper.c +++ b/target-openrisc/int_helper.c @@ -48,7 +48,7 @@ uint32_t HELPER(mul32)(CPUOpenRISCState *env, uint64_t result; uint32_t high, cy; - OpenRISCCPU *cpu = OPENRISC_CPU(ENV_GET_CPU(env)); + OpenRISCCPU *cpu = openrisc_env_get_cpu(env); result = (uint64_t)ra * rb; /* regisiers in or32 is 32bit, so 32 is NOT a magic number.