Message ID | 20250217130610.18313-3-philmd@linaro.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | accel/tcg: Clean cpu_memory_rw_debug() up | expand |
On 2/17/25 05:06, Philippe Mathieu-Daudé wrote: > Commit 35c653c4029 ("tcg: Add 128-bit guest memory > primitives") introduced the use of bswap128() which is > declared in "qemu/int128.h", commit de95016dfbf ("accel/tcg: > Implement helper_{ld,st}*_mmu for user-only") introduced the > other bswap*() uses, which are declared in "qemu/bswap.h". > Include the missing headers. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > accel/tcg/user-exec.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index c4454100ad7..9d53c9440ea 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -30,6 +30,8 @@ #include "exec/page-protection.h" #include "exec/helper-proto.h" #include "qemu/atomic128.h" +#include "qemu/bswap.h" +#include "qemu/int128.h" #include "trace.h" #include "tcg/tcg-ldst.h" #include "internal-common.h"
Commit 35c653c4029 ("tcg: Add 128-bit guest memory primitives") introduced the use of bswap128() which is declared in "qemu/int128.h", commit de95016dfbf ("accel/tcg: Implement helper_{ld,st}*_mmu for user-only") introduced the other bswap*() uses, which are declared in "qemu/bswap.h". Include the missing headers. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- accel/tcg/user-exec.c | 2 ++ 1 file changed, 2 insertions(+)