X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=target-openrisc%2Fexception_helper.c;h=0c53b7755b5d9c8fd835ade2a81d3d5090c7b720;hb=fabb60424d68b7c3af1be447a1f48c5b9ffe5123;hp=dab4148151941ac845da9e86852e7d8a0a91596b;hpb=d3da41e32bc6d6fac80d402aa1cc0f1d30539d98;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); }