From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrn74-000123-0x for qemu-devel@nongnu.org; Mon, 11 May 2015 08:47:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yrn72-0001yY-Sd for qemu-devel@nongnu.org; Mon, 11 May 2015 08:47:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrn72-0001yF-L1 for qemu-devel@nongnu.org; Mon, 11 May 2015 08:47:12 -0400 Date: Mon, 11 May 2015 14:47:00 +0200 From: "Michael S. Tsirkin" Message-ID: <1431329108-2605-3-git-send-email-mst@redhat.com> References: <1431329108-2605-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431329108-2605-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL 02/28] hw/i386: Move ACPI header definitions in an arch-independent location List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Alvise Rigo , Shannon Zhao , Shannon Zhao , Paolo Bonzini , Richard Henderson From: Shannon Zhao The ACPI related header file acpi-defs.h, includes definitions that apply on other architectures as well. Move it in `include/hw/acpi/` to sanely include it from other architectures. Signed-off-by: Alvise Rigo Signed-off-by: Shannon Zhao Signed-off-by: Shannon Zhao Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- {hw/i386 => include/hw/acpi}/acpi-defs.h | 0 hw/i386/acpi-build.c | 2 +- tests/bios-tables-test.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {hw/i386 => include/hw/acpi}/acpi-defs.h (100%) diff --git a/hw/i386/acpi-defs.h b/include/hw/acpi/acpi-defs.h similarity index 100% rename from hw/i386/acpi-defs.h rename to include/hw/acpi/acpi-defs.h diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 1cfe265..c6c0b72 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -33,7 +33,7 @@ #include "hw/i386/pc.h" #include "target-i386/cpu.h" #include "hw/timer/hpet.h" -#include "hw/i386/acpi-defs.h" +#include "hw/acpi/acpi-defs.h" #include "hw/acpi/acpi.h" #include "hw/nvram/fw_cfg.h" #include "hw/acpi/bios-linker-loader.h" diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 735ac61..7e85dc4 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -17,7 +17,7 @@ #include "qemu-common.h" #include "libqtest.h" #include "qemu/compiler.h" -#include "hw/i386/acpi-defs.h" +#include "hw/acpi/acpi-defs.h" #include "hw/i386/smbios.h" #include "qemu/bitmap.h" -- MST