From: Christoph Egger Subject: [PATCH][IOEMU] ioemu build fix Date: Thu, 9 Jul 2009 18:04:27 +0200 Message-ID: <200907091804.28172.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_MUhVKtXXB4iw5jm" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, Ian Jackson List-Id: xen-devel@lists.xenproject.org --Boundary-00=_MUhVKtXXB4iw5jm Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! Attached patch fixes an ioemu build error on NetBSD where CONFIG_PASSTHROUGH is not (yet) defined. Signed-off-by: Christoph Egger -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --Boundary-00=_MUhVKtXXB4iw5jm Content-Type: text/x-diff; charset="us-ascii"; name="xen_ioemu_piix4acpi.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_ioemu_piix4acpi.diff" 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 +#endif /* PM1a_CNT bits, as defined in the ACPI specification. */ #define SCI_EN (1 << 0) --Boundary-00=_MUhVKtXXB4iw5jm Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_MUhVKtXXB4iw5jm--