]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user/arm: Remove unused get_put_user macros
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 12 Mar 2025 13:25:06 +0000 (13:25 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Mar 2025 10:49:20 +0000 (10:49 +0000)
commit63d8b11d0aeb84ba53510cdf66612940a372451f
treef3b1b4db1d675cc80d79f4bdae551cf6782d6064
parentfe0f88ab87632075ae9404685672a8f172a3ae6f
linux-user/arm: Remove unused get_put_user macros

In linux-user/arm/cpu_loop.c we define a full set of get/put
macros for both code and data (since the endianness handling
is different between the two). However the only one we actually
use is get_user_code_u32(). Remove the rest.

We leave a comment noting how data-side accesses should be handled
for big-endian, because that's a subtle point and we just removed the
macros that were effectively documenting it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/arm/cpu_loop.c