From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yx8Wv-0005SM-D6 for qemu-devel@nongnu.org; Tue, 26 May 2015 02:40:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yx8Wr-0000tf-E1 for qemu-devel@nongnu.org; Tue, 26 May 2015 02:40:01 -0400 From: Peter Crosthwaite Date: Mon, 25 May 2015 23:38:22 -0700 Message-Id: <1432622302-6798-1-git-send-email-crosthwaite.peter@gmail.com> Subject: [Qemu-devel] [PATCH] memory_mapping: Use qemu_common.h include List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, pbonzini@redhat.com, Peter Crosthwaite Rather than an explicit inclusion of cpu.h. This maked it more consistent with other core code files, which either just rely on qemu-common.h inclusion or preceed cpu.h with qemu-common.h anyway. Signed-off-by: Peter Crosthwaite --- 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/memory_mapping.c b/memory_mapping.c index 7b69801..7cf5548 100644 --- a/memory_mapping.c +++ b/memory_mapping.c @@ -13,8 +13,7 @@ #include -#include "cpu.h" -#include "exec/cpu-all.h" +#include "qemu-common.h" #include "sysemu/memory_mapping.h" #include "exec/memory.h" #include "exec/address-spaces.h" -- 1.9.1