summary refs log tree commit diff stats
path: root/system/memory-internal.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-23 13:11:31 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-25 17:09:58 +0200
commit8af0e52b28c553c901e7c564c3380cd56d363053 (patch)
tree232c2ff0eb5f32d61ba7e38d05e46ced659f5c3b /system/memory-internal.h
parent16704598bf3fa8578880e7146a0196d9411ea098 (diff)
downloadfocaccia-qemu-8af0e52b28c553c901e7c564c3380cd56d363053.tar.gz
focaccia-qemu-8af0e52b28c553c901e7c564c3380cd56d363053.zip
system/memory: Remove DEVICE_HOST_ENDIAN definition
Since the previous commit ("exec/memory.h: make devend_memop
"target defines" agnostic") there is a single use of the
DEVICE_HOST_ENDIAN definition in ram_device_mem_ops: inline
it and remove its definition altogether.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250423111625.10424-1-philmd@linaro.org>
Diffstat (limited to 'system/memory-internal.h')
-rw-r--r--system/memory-internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/system/memory-internal.h b/system/memory-internal.h
index 29717b3c58..46f758fa7e 100644
--- a/system/memory-internal.h
+++ b/system/memory-internal.h
@@ -41,9 +41,6 @@ void mtree_print_dispatch(struct AddressSpaceDispatch *d,
 /* returns true if end is big endian. */
 static inline bool devend_big_endian(enum device_endian end)
 {
-    QEMU_BUILD_BUG_ON(DEVICE_HOST_ENDIAN != DEVICE_LITTLE_ENDIAN &&
-                      DEVICE_HOST_ENDIAN != DEVICE_BIG_ENDIAN);
-
     if (end == DEVICE_NATIVE_ENDIAN) {
         return target_big_endian();
     }