Am 25.05.2015 um 15:22 schrieb Peter Crosthwaite:
> The callers (most of them in target-foo/cpu.c) to this function all
> have the cpu pointer handy. Just pass it to avoid an ENV_GET_CPU from
> core code (in exec.c).
> 
> Cc: Paolo Bonzini <[email protected]>
> Cc: Richard Henderson <[email protected]>
> Cc: Peter Maydell <[email protected]>
> Cc: "Edgar E. Iglesias" <[email protected]>
> Cc: "Andreas Färber" <[email protected]>
> Cc: Eduardo Habkost <[email protected]>
> Cc: Michael Walle <[email protected]>
> Cc: Aurelien Jarno <[email protected]>
> Cc: Leon Alrae <[email protected]>
> Cc: Anthony Green <[email protected]>
> Cc: Jia Liu <[email protected]>
> Cc: Alexander Graf <[email protected]>
> Cc: Blue Swirl <[email protected]>
> Cc: Mark Cave-Ayland <[email protected]>
> Cc: Bastian Koppelmann <[email protected]>
> Cc: Guan Xuetao <[email protected]>
> Cc: Max Filippov <[email protected]>
> Signed-off-by: Peter Crosthwaite <[email protected]>
> ---
>  exec.c                      | 4 ++--
>  include/exec/exec-all.h     | 2 +-
>  target-alpha/cpu.c          | 2 +-
>  target-arm/cpu.c            | 2 +-
>  target-cris/cpu.c           | 2 +-
>  target-i386/cpu.c           | 2 +-
>  target-lm32/cpu.c           | 2 +-
>  target-m68k/cpu.c           | 2 +-
>  target-microblaze/cpu.c     | 2 +-
>  target-mips/cpu.c           | 2 +-
>  target-moxie/cpu.c          | 2 +-
>  target-openrisc/cpu.c       | 2 +-
>  target-ppc/translate_init.c | 2 +-
>  target-s390x/cpu.c          | 2 +-
>  target-sh4/cpu.c            | 2 +-
>  target-sparc/cpu.c          | 2 +-
>  target-tricore/cpu.c        | 2 +-
>  target-unicore32/cpu.c      | 2 +-
>  target-xtensa/cpu.c         | 2 +-
>  19 files changed, 20 insertions(+), 20 deletions(-)

Reviewed-by: Andreas Färber <[email protected]>

I assume this will conflict with another patch adding an Error**
argument - Eduardo, please help coordinating this.

Thanks,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB
21284 (AG Nürnberg)

Reply via email to