Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
 include/hw/core/cpu.h | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h
index 5eaf41a566..2c0edc2912 100644
--- a/include/hw/core/cpu.h
+++ b/include/hw/core/cpu.h
@@ -341,13 +341,7 @@ typedef struct CPUTLB {
 typedef union IcountDecr {
     uint32_t u32;
     struct {
-#if HOST_BIG_ENDIAN
-        uint16_t high;
-        uint16_t low;
-#else
-        uint16_t low;
-        uint16_t high;
-#endif
+        uint16_t HOST_ENDIAN_FIELDS(low, high);
     } u16;
 } IcountDecr;
 
-- 
2.43.0


Reply via email to