WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [qemu-xen-unstable] Do not #include <pci/header.h> unles

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [qemu-xen-unstable] Do not #include <pci/header.h> unless CONFIG_PASSTHROUGH
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Mon, 20 Jul 2009 06:20:03 -0700
Delivery-date: Mon, 20 Jul 2009 06:20:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
commit 831377529c58ed43be11f6dbc518cbbefb4ce67f
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Mon Jul 20 12:22:59 2009 +0100

    Do not #include <pci/header.h> unless CONFIG_PASSTHROUGH
    
    Attached patch fixes an ioemu build error on NetBSD where
    CONFIG_PASSTHROUGH is not (yet) defined.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 hw/piix4acpi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/piix4acpi.c b/hw/piix4acpi.c
index 9c5fdee..85b8ac3 100644
--- a/hw/piix4acpi.c
+++ b/hw/piix4acpi.c
@@ -40,7 +40,9 @@
 #define PIIX4ACPI_LOGLEVEL PIIX4ACPI_LOG_INFO
 #define PIIX4ACPI_LOG(level, fmt, ...) do { if (level <= PIIX4ACPI_LOGLEVEL) 
qemu_log(fmt, ## __VA_ARGS__); } while (0)
 
+#ifdef CONFIG_PASSTHROUGH
 #include <pci/header.h>
+#endif
 
 /* PM1a_CNT bits, as defined in the ACPI specification. */
 #define SCI_EN            (1 <<  0)
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [qemu-xen-unstable] Do not #include <pci/header.h> unless CONFIG_PASSTHROUGH, Ian Jackson <=