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: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH v2 1/3] move WORDS_ALIGNED to qemu-common.h
Date: Mon, 6 Jun 2011 19:15:21 +0200

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?

Andreas



reply via email to

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