diff options
author | Anthony Liguori <aliguori@amazon.com> | 2014-01-12 17:50:43 -0800 |
---|---|---|
committer | Anthony Liguori <aliguori@amazon.com> | 2014-01-12 17:50:43 -0800 |
commit | 42bf25a9bf99559dd68d2b20824cd4879d5785ba (patch) | |
tree | f831a72235854cf464b1af4f54880690142c2de1 | |
parent | eedc1a5db5e4d941e39e54344322c0b1e89dfdcd (diff) | |
parent | 5cd8a11834d1fbb12439604ff6793b9f0bae4a15 (diff) |
Merge remote-tracking branch 'pmaydell/tags/pull-target-arm-20140112' into staging
target-arm queue:
* build fix for bigendian hosts
# gpg: Signature made Sun 12 Jan 2014 01:38:22 PM PST using RSA key ID 14360CDE
# gpg: Can't check signature: public key not found
* pmaydell/tags/pull-target-arm-20140112:
arm: fix compile on bigendian host
Message-id: 1389562970-30944-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
-rw-r--r-- | target-arm/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h index f1307eb488..198b6b8d4e 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -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 |