From patchwork Mon Jun 6 14:25:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 98944 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 879F7B6FA9 for ; Tue, 7 Jun 2011 01:31:44 +1000 (EST) Received: from localhost ([::1]:43626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTbmG-00044k-0J for incoming@patchwork.ozlabs.org; Mon, 06 Jun 2011 11:31:40 -0400 Received: from eggs.gnu.org ([140.186.70.92]:51189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTakl-0003G0-8S for qemu-devel@nongnu.org; Mon, 06 Jun 2011 10:26:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTakj-0001vr-MH for qemu-devel@nongnu.org; Mon, 06 Jun 2011 10:26:03 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:39280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTakj-0001vY-8h for qemu-devel@nongnu.org; Mon, 06 Jun 2011 10:26:01 -0400 Received: by pxi15 with SMTP id 15so868079pxi.33 for ; Mon, 06 Jun 2011 07:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=y5x3oueAqNa2rfMjNFmQqPxFlt0bpWiEDVXdmiirF0o=; b=oLyE4xNKfG6F9SE4jrGrCdt0HdwKilkhXQfRyt+tbuix9LX0Tr1WDi5YGrjsSp20Mu PLp6+MIPTuaIU2WFujoTXQqRQpWBlZNhhsUcNjVTZRLZ5YQ4uj1Hr32aBmevG37d2gDi ZPcG4RBUpDOoqQEl9DjDAM8cajPep5WaEgbdg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; b=I9GEtfAV1IOgi6Bk9Jn+nLqYHVY60qXfIZJIgdKZMkOKyV06K68R08fxkiVhpbhbWO 4tgxAqLuxdXl3eSuCDvGzyFOfCZ5Pq8s0pDyGOB4Vlt0MDahq7hA6bq4priFqvutJ3io zdARaLyZFHZlqsbv5fOaEhbZLBqgYRyqQ5Bno= Received: by 10.68.15.229 with SMTP id a5mr1993406pbd.42.1307370360207; Mon, 06 Jun 2011 07:26:00 -0700 (PDT) Received: from localhost.localdomain (93-34-184-88.ip51.fastwebnet.it [93.34.184.88]) by mx.google.com with ESMTPS id b8sm3715632pbj.94.2011.06.06.07.25.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Jun 2011 07:25:58 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 6 Jun 2011 16:25:46 +0200 Message-Id: <1307370348-28400-2-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1307370348-28400-1-git-send-email-pbonzini@redhat.com> References: <1307370348-28400-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.174 Subject: [Qemu-devel] [PATCH v2 1/3] move WORDS_ALIGNED to qemu-common.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This is not a CPU interface. 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 7a86d63..7979a18 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 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 + #define QEMU_NORETURN __attribute__ ((__noreturn__)) #ifdef CONFIG_GCC_ATTRIBUTE_WARN_UNUSED_RESULT #define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result))