From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7cN2-0004vj-JA for qemu-devel@nongnu.org; Wed, 24 Jun 2015 00:33:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7cMy-00077R-F0 for qemu-devel@nongnu.org; Wed, 24 Jun 2015 00:33:08 -0400 Received: from mail-yk0-f169.google.com ([209.85.160.169]:34707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7cMy-00077M-Bl for qemu-devel@nongnu.org; Wed, 24 Jun 2015 00:33:04 -0400 Received: by ykfy125 with SMTP id y125so17781780ykf.1 for ; Tue, 23 Jun 2015 21:33:03 -0700 (PDT) MIME-Version: 1.0 Sender: peter.crosthwaite@petalogix.com In-Reply-To: <1433714349-7262-1-git-send-email-crosthwaite.peter@gmail.com> References: <1433714349-7262-1-git-send-email-crosthwaite.peter@gmail.com> Date: Tue, 23 Jun 2015 21:33:03 -0700 Message-ID: From: Peter Crosthwaite Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v2] memory_mapping: Rework cpu related includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: qemu-trivial , Paolo Bonzini , "qemu-devel@nongnu.org Developers" , Peter Crosthwaite Ping! On Sun, Jun 7, 2015 at 2:59 PM, Peter Crosthwaite wrote: > This makes it more consistent with all other core code files, which > either just rely on qemu-common.h inclusion or precede cpu.h with > qemu-common.h. > > cpu-all.h should not be included in addition to cpu.h. Remove it. > > Signed-off-by: Peter Crosthwaite > --- > changed since v1: > Leave in cpu.h include > > Picked up by my multi arch WIP where target-multi/cpu.h cant handle > random core code inclusion without preceeded qemu-common.h. I guess > this is the only one in tree? > --- > memory_mapping.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/memory_mapping.c b/memory_mapping.c > index 7b69801..36d6b26 100644 > --- a/memory_mapping.c > +++ b/memory_mapping.c > @@ -13,8 +13,8 @@ > > #include > > +#include "qemu-common.h" > #include "cpu.h" > -#include "exec/cpu-all.h" > #include "sysemu/memory_mapping.h" > #include "exec/memory.h" > #include "exec/address-spaces.h" > -- > 1.9.1 > >