From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmNYI-00031m-K0 for qemu-devel@nongnu.org; Thu, 28 Jul 2011 06:10:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QmNYG-0001xj-Ix for qemu-devel@nongnu.org; Thu, 28 Jul 2011 06:10:50 -0400 Received: from mail-vw0-f47.google.com ([209.85.212.47]:53161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmNYG-0001wb-0m for qemu-devel@nongnu.org; Thu, 28 Jul 2011 06:10:48 -0400 Received: by mail-vw0-f47.google.com with SMTP id 2so2851895vws.34 for ; Thu, 28 Jul 2011 03:10:47 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 28 Jul 2011 12:10:28 +0200 Message-Id: <1311847830-4307-2-git-send-email-pbonzini@redhat.com> In-Reply-To: <1311847830-4307-1-git-send-email-pbonzini@redhat.com> References: <1311847830-4307-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0.16 v3 1/3] move WORDS_ALIGNED to qemu-common.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 --- cpu-common.h | 4 ---- qemu-common.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpu-common.h b/cpu-common.h index 44b04b3..16c9f4f 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -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 diff --git a/qemu-common.h b/qemu-common.h index ba55719..43ebaca 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; -- 1.7.6