On 10 May 2013 15:39, Andreas Färber <afaer...@suse.de> wrote: > A transition from CPUPPCState to PowerPCCPU can be considered safe, > just like PowerPCCPU::env access in the opposite direction. > > This should slightly improve interrupt performance.
> static inline PowerPCCPU *ppc_env_get_cpu(CPUPPCState *env) > { > - return POWERPC_CPU(container_of(env, PowerPCCPU, env)); > + return container_of(env, PowerPCCPU, env); > } So if this is worthwhile shouldn't we be doing it for all our CPUs? thanks -- PMM