On 4/17/24 11:28, Philippe Mathieu-Daudé wrote:
tswapl() and bswaptls() are target-dependent and only used
by user emulation. Move their definitions to a new header:
"exec/user/tswap-target.h".

Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
Reviewed-by: Anton Johansson<a...@rev.ng>
Message-Id:<20231212123401.37493-17-phi...@linaro.org>
---
  MAINTAINERS                        |  1 +
  bsd-user/freebsd/target_os_elf.h   |  1 +
  bsd-user/freebsd/target_os_stack.h |  1 +
  bsd-user/netbsd/target_os_elf.h    |  1 +
  bsd-user/openbsd/target_os_elf.h   |  1 +
  include/exec/cpu-all.h             |  8 --------
  include/exec/user/abitypes.h       |  1 +
  include/user/tswap-target.h        | 22 ++++++++++++++++++++++
  bsd-user/signal.c                  |  1 +
  bsd-user/strace.c                  |  1 +
  linux-user/elfload.c               |  1 +
  linux-user/i386/signal.c           |  1 +
  linux-user/ppc/signal.c            |  1 +
  13 files changed, 33 insertions(+), 8 deletions(-)
  create mode 100644 include/user/tswap-target.h

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

r~

Reply via email to