From patchwork Mon Jul 2 09:36:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 168526 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id BF6F02C01FD for ; Mon, 2 Jul 2012 19:36:59 +1000 (EST) Received: from localhost ([::1]:33340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sld3x-0007dE-Cq for incoming@patchwork.ozlabs.org; Mon, 02 Jul 2012 05:36:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sld3p-0007cy-BM for qemu-devel@nongnu.org; Mon, 02 Jul 2012 05:36:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sld3n-0005Mc-Iz for qemu-devel@nongnu.org; Mon, 02 Jul 2012 05:36:48 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:60103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sld3n-0005Lk-B3 for qemu-devel@nongnu.org; Mon, 02 Jul 2012 05:36:47 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 2 Jul 2012 10:36:43 +0100 Received: from d06nrmr1407.portsmouth.uk.ibm.com (9.149.38.185) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 2 Jul 2012 10:36:41 +0100 Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q629afuw1372274 for ; Mon, 2 Jul 2012 10:36:41 +0100 Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q629adIf024964 for ; Mon, 2 Jul 2012 03:36:40 -0600 Received: from localhost (stefanha-thinkpad.manchester-maybrook.uk.ibm.com [9.174.219.145]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q629aduI024960; Mon, 2 Jul 2012 03:36:39 -0600 From: Stefan Hajnoczi To: Anthony Liguori Date: Mon, 2 Jul 2012 10:36:34 +0100 Message-Id: <1341221796-14673-2-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1341221796-14673-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1341221796-14673-1-git-send-email-stefanha@linux.vnet.ibm.com> MIME-Version: 1.0 x-cbid: 12070209-5024-0000-0000-00000317B934 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.107 Cc: Peter Maydell , qemu-devel@nongnu.org, Stefan Hajnoczi Subject: [Qemu-devel] [PATCH 1/3] cpu-common.h: Remove unnecessary guard on including targphys.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 From: Peter Maydell There's no need to make the include of targphys.h conditional on whether TARGET_PHYS_ADDR_BITS is defined, because targphys.h itself checks that and does nothing if it isn't. Signed-off-by: Peter Maydell Reviewed-by: Andreas Färber Signed-off-by: Stefan Hajnoczi --- cpu-common.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpu-common.h b/cpu-common.h index 1fe3280..321037f 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -3,9 +3,7 @@ /* CPU interfaces that are target independent. */ -#ifdef TARGET_PHYS_ADDR_BITS #include "targphys.h" -#endif #ifndef NEED_CPU_H #include "poison.h"