From: Marcelo Tosatti <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
diff --git a/hw/pci.h b/hw/pci.h index bf63912..8c37f14 100644 --- a/hw/pci.h +++ b/hw/pci.h @@ -10,10 +10,6 @@ struct kvm_irq_routing_entry; /* PCI includes legacy ISA access. */ #include "isa.h" -/* imported from <linux/pci.h> */ -#define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) -#define PCI_FUNC(devfn) ((devfn) & 0x07) - /* PCI bus */ #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
