X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=target-openrisc%2Fexception_helper.c;h=0c53b7755b5d9c8fd835ade2a81d3d5090c7b720;hb=bd039ce0094f3724a87a193c846ee8468ce652b0;hp=dab4148151941ac845da9e86852e7d8a0a91596b;hpb=4dd533aa03d6844f61e95558d75d8dbec72d899c;p=qemu.git diff --git a/target-openrisc/exception_helper.c b/target-openrisc/exception_helper.c index dab414815..0c53b7755 100644 --- a/target-openrisc/exception_helper.c +++ b/target-openrisc/exception_helper.c @@ -23,7 +23,7 @@ void HELPER(exception)(CPUOpenRISCState *env, uint32_t excp) { - OpenRISCCPU *cpu = OPENRISC_CPU(ENV_GET_CPU(env)); + OpenRISCCPU *cpu = openrisc_env_get_cpu(env); raise_exception(cpu, excp); }