diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-07-28 12:10:28 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-29 08:25:45 -0500 |
commit | 332ae28dad2d4f155e1ad82bf89a605c2b2710ba (patch) | |
tree | ac07d458d03cab7138e2f98dc0ddc0d0028c963a /qemu-common.h | |
parent | 3d3b8303c6f83b9b245bc774af530a6403cc4ce6 (diff) | |
download | hqemu-332ae28dad2d4f155e1ad82bf89a605c2b2710ba.zip hqemu-332ae28dad2d4f155e1ad82bf89a605c2b2710ba.tar.gz |
move WORDS_ALIGNED to qemu-common.h
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>
Diffstat (limited to 'qemu-common.h')
-rw-r--r-- | qemu-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h index 391fadd..1e3c665 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -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; |