Skip to contentSkip to conversation

target-arm queue: build breakage fix

GIT PULL Peter Maydell 2 participants 3 messages Jan 12, 2014 – Jan 13, 2014

lore
Share & tools
lore
#0 lore raw

A very small pullreq containing Alexey's fix for the build breakage on bigendian hosts which I let slip through into the previous target-arm pull.

(Is there some way I should be flagging up "build fixes" in a subject line?)

Please pull.

thanks
-- PMM

The following changes since commit eedc1a5db5e4d941e39e54344322c0b1e89dfdcd:

Merge remote-tracking branch 'bonzini/scsi-next' into staging (2014-01-10 11:05:17 -0800)

are available in the git repository at:

git://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20140112

for you to fetch changes up to 5cd8a11834d1fbb12439604ff6793b9f0bae4a15:

arm: fix compile on bigendian host (2014-01-12 21:37:37 +0000)

----------------------------------------------------------------
target-arm queue:
* build fix for bigendian hosts

----------------------------------------------------------------
Alexey Kardashevskiy (1):
arm: fix compile on bigendian host

 target-arm/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#1 lore raw

[Qemu-devel] [PULL 1/1] arm: fix compile on bigendian host

From: Alexey Kardashevskiy <[email protected]>

---
 target-arm/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target-arm/cpu.h +1 -1
index f1307eb..198b6b8 100644
@@ -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.5
#2 lore raw
In reply to Peter Maydell

Am 12.01.2014 22:42, schrieb Peter Maydell:

Quoted 2 lines

(Is there some way I should be flagging up "build fixes" in a subject line?)

It had once been suggested to use
[PATCH buildfix ...] and
[PULL buildfix 0/...]
for that purpose IIRC.

CC'ing Edgar as additional committer.

Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg