arm: fix compile on bigendian host
PATCH 1/1 arm: fix compile on bigendian host
Signed-off-by Alexey Kardashevskiy <[email protected]>
---
Peter, is not it what you really wanted? :)
--- target-arm/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target-arm/cpu.h +1 -1
@@ -73,7 +73,7 @@* significant half of a uint64_t struct member. */ #ifdef HOST_WORDS_BIGENDIAN -#define offsetoflow32 (S ,M ) offsetof(S, M + sizeof(uint32_t)) +#define offsetoflow32 (S ,M ) (offsetof(S, M) + sizeof(uint32_t))#else #define offsetoflow32 (S ,M ) offsetof(S, M)#endif
Signature · 1 line
1.8.4.rc4
Quoted 4 lines · Alexey Kardashevskiy
Signed-off-by Alexey Kardashevskiy <[email protected]>---
Peter, is not it what you really wanted? :)
Rats.
Reviewed-by Peter Maydell <[email protected]>
I've clearly been in a bit too much of a hurry over this; apologies for this breakage.
Applied to target-arm.next but if anybody has a faster path for getting build breakage fixes applied please do.
thanks
-- PMM