Hi,

Trivial patch to make v3 compile too.

Signed off by: Ronald Hoogenboom <[email protected]>


Index: util/x86emu/vm86.c
===================================================================
--- util/x86emu/vm86.c	(revision 1141)
+++ util/x86emu/vm86.c	(working copy)
@@ -26,7 +26,7 @@
 #include <device/pci_ids.h>
 #include <device/pci_ops.h>
 #include <string.h>
-#if COREBOOT_V2
+#ifdef COREBOOT_V2
 #include <console/console.h>
 #include <arch/io.h>
 #define printk(lvl, x...) printk_debug(x)
@@ -591,7 +591,7 @@
 		vendorid = *pedx;
 		devindex = *pesi;
 		dev = 0;
-#if COREBOOT_V2
+#ifdef COREBOOT_V2
 		while ((dev = dev_find_device(vendorid, devid, dev))) {
 #else
 		while ((dev = dev_find_pci_device(vendorid, devid, dev))) {
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to