projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eedc1a5
)
arm: fix compile on bigendian host
author
Alexey Kardashevskiy
<aik@ozlabs.ru>
Sun, 12 Jan 2014 21:37:37 +0000
(21:37 +0000)
committer
Peter Maydell
<peter.maydell@linaro.org>
Sun, 12 Jan 2014 21:37:37 +0000
(21:37 +0000)
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h
patch
|
blob
|
history
diff --git
a/target-arm/cpu.h
b/target-arm/cpu.h
index f1307eb488153e95eec8889e8a2d385ba8d8725c..198b6b8d4e1204213f7788a467a97a5415c45f8b 100644
(file)
--- 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