diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-12-12 11:27:18 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-26 17:03:05 +0200 |
commit | 827238668e7dc44e43e71a3e12b605881fe6887e (patch) | |
tree | f0311bc47207fc93bfa8df8176afe947570ffa99 /linux-user | |
parent | 425082612c012843d8b33fa0d35966adf5600c47 (diff) | |
download | qemu-827238668e7dc44e43e71a3e12b605881fe6887e.zip qemu-827238668e7dc44e43e71a3e12b605881fe6887e.tar.gz qemu-827238668e7dc44e43e71a3e12b605881fe6887e.tar.bz2 |
exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h'
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é <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20231212123401.37493-17-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/elfload.c | 1 | ||||
-rw-r--r-- | linux-user/i386/signal.c | 1 | ||||
-rw-r--r-- | linux-user/ppc/signal.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index a0999da..207455c 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -7,6 +7,7 @@ #include <sys/shm.h> #include "qemu.h" +#include "user/tswap-target.h" #include "user-internals.h" #include "signal-common.h" #include "loader.h" diff --git a/linux-user/i386/signal.c b/linux-user/i386/signal.c index cfe70fc..990048f 100644 --- a/linux-user/i386/signal.c +++ b/linux-user/i386/signal.c @@ -21,6 +21,7 @@ #include "user-internals.h" #include "signal-common.h" #include "linux-user/trace.h" +#include "user/tswap-target.h" /* from the Linux kernel - /arch/x86/include/uapi/asm/sigcontext.h */ diff --git a/linux-user/ppc/signal.c b/linux-user/ppc/signal.c index 652038a..a1d8c0b 100644 --- a/linux-user/ppc/signal.c +++ b/linux-user/ppc/signal.c @@ -21,6 +21,7 @@ #include "user-internals.h" #include "signal-common.h" #include "linux-user/trace.h" +#include "user/tswap-target.h" #include "vdso-asmoffset.h" /* See arch/powerpc/include/asm/ucontext.h. Only used for 32-bit PPC; |