X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=cpu-exec.c;h=30cfa2a63a68bc0eeddca36257946c89fe6f5ec5;hb=485e741cd15655b4032b07b8a912aa5c7a4f2028;hp=5a4399509e686b7c499295146f32cb39de31266a;hpb=545825d4cda03ea292b7788b3401b99860efe8bc;p=qemu.git diff --git a/cpu-exec.c b/cpu-exec.c index 5a4399509..30cfa2a63 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -681,6 +681,10 @@ int cpu_exec(CPUArchState *env) * local variables as longjmp is marked 'noreturn'. */ cpu = current_cpu; env = cpu->env_ptr; +#if !(defined(CONFIG_USER_ONLY) && \ + (defined(TARGET_M68K) || defined(TARGET_PPC) || defined(TARGET_S390X))) + cc = CPU_GET_CLASS(cpu); +#endif } } /* for(;;) */