move WORDS_ALIGNED to qemu-common.h
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Jul 2011 10:10:28 +0000 (12:10 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 29 Jul 2011 13:25:45 +0000 (08:25 -0500)
This is not a CPU interface, and a configure test would not be too
precise.  So just add it to qemu-common.h.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cpu-common.h
qemu-common.h

index 44b04b383917e62b9791020d0e22fe962989351d..16c9f4f487ae3fa4e20d1b20e16c6cb3381c39e6 100644 (file)
@@ -3,10 +3,6 @@
 
 /* CPU interfaces that are target indpendent.  */
 
-#if defined(__arm__) || defined(__sparc__) || defined(__mips__) || defined(__hppa__) || defined(__ia64__)
-#define WORDS_ALIGNED
-#endif
-
 #ifdef TARGET_PHYS_ADDR_BITS
 #include "targphys.h"
 #endif
index 391fadda56f3842c9a46e6bcc9931bf8b08aa7c9..1e3c66511eeb464ef1d0b94fb562fb16674f5bb3 100644 (file)
@@ -5,6 +5,10 @@
 #include "compiler.h"
 #include "config-host.h"
 
+#if defined(__arm__) || defined(__sparc__) || defined(__mips__) || defined(__hppa__) || defined(__ia64__)
+#define WORDS_ALIGNED
+#endif
+
 #define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR)
 
 typedef struct QEMUTimer QEMUTimer;