From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqjgd-0006Xg-L5 for qemu-devel@nongnu.org; Mon, 26 Oct 2015 11:27:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zqjga-000171-GD for qemu-devel@nongnu.org; Mon, 26 Oct 2015 11:27:51 -0400 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:36536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqjga-00016u-BL for qemu-devel@nongnu.org; Mon, 26 Oct 2015 11:27:48 -0400 Received: by pacfv9 with SMTP id fv9so200121714pac.3 for ; Mon, 26 Oct 2015 08:27:48 -0700 (PDT) From: Peter Crosthwaite Date: Mon, 26 Oct 2015 08:27:28 -0700 Message-Id: <54bef7e49dbcc4a02c504a8d57ec0b506eb453b1.1445842804.git.crosthwaite.peter@gmail.com> In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH v1 6/6] hw: mb: boot Explicitly include cpu.h for consumers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, Peter Crosthwaite , Peter Crosthwaite , "Edgar E. Iglesias" From: Peter Crosthwaite boot.c only needs cpu.h for architecture specific reasons. So include target-microblaze/cpu.h explicitly rather than the one provided by common code. This prepares support for multi-arch where the common cpu.h will be minimal and not contain any arch specifics. Cc: Edgar E. Iglesias Signed-off-by: Peter Crosthwaite --- Changed since RFCv3: Made commit message specific to boot.c hw/microblaze/boot.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/microblaze/boot.h b/hw/microblaze/boot.h index 0eb7f8e..a4d7740 100644 --- a/hw/microblaze/boot.h +++ b/hw/microblaze/boot.h @@ -3,6 +3,8 @@ #include "hw/hw.h" +#include "target-microblaze/cpu.h" + void microblaze_load_kernel(MicroBlazeCPU *cpu, hwaddr ddr_base, uint32_t ramsize, const char *initrd_filename, -- 1.9.1