On 9/23/24 09:13, Ilya Leoshkevich wrote:
All linux-user cpu_loop() implementations contain the same sequence
of function calls. Factor them out so that they can be changed in one
place.

Signed-off-by: Ilya Leoshkevich<i...@linux.ibm.com>
---
  accel/tcg/user-exec.c              | 12 ++++++++++++
  bsd-user/aarch64/target_arch_cpu.h |  6 +-----
  bsd-user/arm/target_arch_cpu.h     |  5 +----
  bsd-user/i386/target_arch_cpu.h    |  5 +----
  bsd-user/x86_64/target_arch_cpu.h  |  5 +----
  include/exec/cpu-common.h          |  2 ++
  linux-user/aarch64/cpu_loop.c      |  5 +----
  linux-user/alpha/cpu_loop.c        |  5 +----
  linux-user/arm/cpu_loop.c          |  5 +----
  linux-user/hexagon/cpu_loop.c      |  5 +----
  linux-user/hppa/cpu_loop.c         |  5 +----
  linux-user/i386/cpu_loop.c         |  5 +----
  linux-user/loongarch64/cpu_loop.c  |  5 +----
  linux-user/m68k/cpu_loop.c         |  5 +----
  linux-user/microblaze/cpu_loop.c   |  5 +----
  linux-user/mips/cpu_loop.c         |  5 +----
  linux-user/openrisc/cpu_loop.c     |  5 +----
  linux-user/ppc/cpu_loop.c          |  5 +----
  linux-user/riscv/cpu_loop.c        |  5 +----
  linux-user/s390x/cpu_loop.c        |  5 +----
  linux-user/sh4/cpu_loop.c          |  5 +----
  linux-user/sparc/cpu_loop.c        |  5 +----
  linux-user/xtensa/cpu_loop.c       |  5 +----
  23 files changed, 35 insertions(+), 85 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to