[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 1/4] pci: Do not ignore device's PXM information
On 06/01/15 02:18, Boris Ostrovsky wrote: > diff --git a/xen/include/xen/pci.h b/xen/include/xen/pci.h > index 5f295f3..a5eb81c 100644 > --- a/xen/include/xen/pci.h > +++ b/xen/include/xen/pci.h > @@ -56,6 +56,8 @@ struct pci_dev { > > u8 phantom_stride; > > + int node; /* NUMA node */ > + > enum pdev_type { > DEV_TYPE_PCI_UNKNOWN, > DEV_TYPE_PCIe_ENDPOINT, > @@ -102,7 +104,8 @@ void setup_hwdom_pci_devices(struct domain *, > int pci_release_devices(struct domain *d); > int pci_add_segment(u16 seg); > const unsigned long *pci_get_ro_map(u16 seg); > -int pci_add_device(u16 seg, u8 bus, u8 devfn, const struct pci_dev_info *); > +int pci_add_device(u16 seg, u8 bus, u8 devfn, > + const struct pci_dev_info *, int); Please use parameter names in definitions. ~Andrew > int pci_remove_device(u16 seg, u8 bus, u8 devfn); > int pci_ro_device(int seg, int bus, int devfn); > void arch_pci_ro_device(int seg, int bdf); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |