From patchwork Thu May 19 11:18:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 9127361 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C51399F30C for ; Thu, 19 May 2016 11:58:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2602120218 for ; Thu, 19 May 2016 11:58:06 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 716A820212 for ; Thu, 19 May 2016 11:58:05 +0000 (UTC) Received: from localhost ([::1]:49880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3Maa-0005pp-FU for patchwork-qemu-devel@patchwork.kernel.org; Thu, 19 May 2016 07:58:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3LzF-0004Xf-8K for qemu-devel@nongnu.org; Thu, 19 May 2016 07:19:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3Lz6-0004Ar-5M for qemu-devel@nongnu.org; Thu, 19 May 2016 07:19:29 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:35327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3Lz5-0004Ac-VW for qemu-devel@nongnu.org; Thu, 19 May 2016 07:19:20 -0400 Received: by mail-wm0-x244.google.com with SMTP id s63so5552331wme.2 for ; Thu, 19 May 2016 04:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=L7YSaPQhkabrlek++khaBPmk5QM6gSLETewM6/YijHw=; b=BRM0BSPtbnoPNB7n60B2JjMGsaq//5LZJbFgW5wckbtNo9ZpGIjIDUMspFCKncZcbm rnHJv+u4b3ap4aOfxC7CbdcpE0Q7ifrYqd3EoatYZYwBwRW2ozVMzEsn1ApDH/M3lMgu xIiBCP7qVltsT9gWMTbKOr2BNcSdMs5b2qeBiaFwxFnrIKxeHol0On0P4hxPnJcvjpaH ixTJ8fJrH4racOGqP6sdXggaWjppNcJx6tlCoxw26WfG1XeoPXwzC6PKCUf141Ph69rE x5QHZaBHRFcpwIEXo3qYYmCSpNk58GD5v9F7s+nstUpwg6CNana4OTtccZB97O64wrTQ gF2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=L7YSaPQhkabrlek++khaBPmk5QM6gSLETewM6/YijHw=; b=ba2uJw0LKDG2fZt5dK8R5Ftdt3oL6XwU/bm4XtVosDUBJepooryVIzDIdljQ/X31sx zDD+1BNH9GRVEQgxHQ2O3aZVfTDGwdqmQrVwO5laRB8V2EQxn6QRbJjEsBD9mxF2zE9z 5oafpb82549gODNlRiM5NoDe33mZaB+7ehyKQKY6z05TDzjfv6ZsOy84n4gKcuvt1H7V vvQ5CPdRc2QdZPINNtaUjMNm2JB/YC0dYlnIXGGoTdPp1Ec4qahQWA6BgmN0edt/Zrhv 0c+xtXCurlAKshqO+fn2LSxWDAFRNvrQ1dFsxFNQVPqtQlbZopyoXok4lUl5enZMX3H0 MrIw== X-Gm-Message-State: AOPr4FUAwqcXBcutoVRUiZrScMVgcyTKAqT2FZ65D9EtpM6eEKvzOi8UG7oXAwUQTFW7fw== X-Received: by 10.194.0.242 with SMTP id 18mr2195921wjh.105.1463656759458; Thu, 19 May 2016 04:19:19 -0700 (PDT) Received: from 640k.lan (dynamic-adsl-78-12-252-58.clienti.tiscali.it. [78.12.252.58]) by smtp.gmail.com with ESMTPSA id c7sm8374317wji.38.2016.05.19.04.19.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 May 2016 04:19:18 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Thu, 19 May 2016 13:18:24 +0200 Message-Id: <1463656726-35952-31-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1463656726-35952-1-git-send-email-pbonzini@redhat.com> References: <1463656726-35952-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [PULL 30/52] explicitly include qom/cpu.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP exec/cpu-all.h includes qom/cpu.h. Explicit inclusion will keep things working when cpu.h will not be included indirectly almost everywhere (either directly or through qemu-common.h). Signed-off-by: Paolo Bonzini --- hw/acpi/piix4.c | 1 + hw/arm/collie.c | 1 + hw/cpu/a9mpcore.c | 1 + hw/isa/lpc_ich9.c | 1 + include/hw/ppc/openpic.h | 1 + 5 files changed, 5 insertions(+) diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c index 16abdf1..b3e3bb3 100644 --- a/hw/acpi/piix4.c +++ b/hw/acpi/piix4.c @@ -39,6 +39,7 @@ #include "hw/acpi/memory_hotplug.h" #include "hw/acpi/acpi_dev_interface.h" #include "hw/xen/xen.h" +#include "qom/cpu.h" //#define DEBUG diff --git a/hw/arm/collie.c b/hw/arm/collie.c index 8bb308a..2e69531 100644 --- a/hw/arm/collie.c +++ b/hw/arm/collie.c @@ -18,6 +18,7 @@ #include "hw/block/flash.h" #include "sysemu/block-backend.h" #include "exec/address-spaces.h" +#include "qom/cpu.h" static struct arm_boot_info collie_binfo = { .loader_start = SA_SDCS0, diff --git a/hw/cpu/a9mpcore.c b/hw/cpu/a9mpcore.c index 5459ae8..f17f292 100644 --- a/hw/cpu/a9mpcore.c +++ b/hw/cpu/a9mpcore.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "hw/cpu/a9mpcore.h" +#include "qom/cpu.h" static void a9mp_priv_set_irq(void *opaque, int irq, int level) { diff --git a/hw/isa/lpc_ich9.c b/hw/isa/lpc_ich9.c index 99cd3ba..4f8ca45 100644 --- a/hw/isa/lpc_ich9.c +++ b/hw/isa/lpc_ich9.c @@ -47,6 +47,7 @@ #include "hw/pci/pci_bus.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h" +#include "qom/cpu.h" static int ich9_lpc_sci_irq(ICH9LPCState *lpc); diff --git a/include/hw/ppc/openpic.h b/include/hw/ppc/openpic.h index ee67098..1cf188d 100644 --- a/include/hw/ppc/openpic.h +++ b/include/hw/ppc/openpic.h @@ -3,6 +3,7 @@ #include "qemu-common.h" #include "hw/qdev.h" +#include "qom/cpu.h" #define TYPE_OPENPIC "openpic"