qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 1/3] move WORDS_ALIGNED to qemu-common.h


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2 1/3] move WORDS_ALIGNED to qemu-common.h
Date: Mon, 06 Jun 2011 22:24:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 06/06/2011 07:15 PM, Andreas Färber wrote:
Am 06.06.2011 um 16:25 schrieb Paolo Bonzini:

This is not a CPU interface.

Signed-off-by: Paolo Bonzini <address@hidden>

diff --git a/qemu-common.h b/qemu-common.h
index b851b20..7484ef8 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -4,6 +4,10 @@

#include "config-host.h"

+#if defined(__arm__) || defined(__sparc__) || defined(__mips__) ||
defined(__hppa__) || defined(__ia64__)
+#define WORDS_ALIGNED
+#endif

Since it depends on the host and you're placing it directly under
config-host.h inclusion, might it make sense to move the decision into
configure instead, so that it ends up in config-host.h?

Richard's suggestion will get rid of this altogether.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]