On 06/28/2013 06:23 AM, Andreas Färber wrote: > A transition from CPUFooState to FooCPU can be considered safe, > just like FooCPU::env access in the opposite direction. > The only benefit of the FOO_CPU() casts would be protection against > bogus CPUFooState pointers, but then surrounding code would likely > break, too. > > This should slightly improve interrupt etc. performance. > > Reported-by: Anthony Liguori <aligu...@us.ibm.com> > Signed-off-by: Andreas Färber <afaer...@suse.de>
Acked-by: Richard Henderson <r...@twiddle.net> r~