[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 12/31] Remove function declerations (CONFIG_PCI_DOMAIN) that exist in recent kernels.



The 'pci_domain_nr' and  'pci_proc_domain' are defined properly
in the modern kernels. No need for this back-port.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
---
 include/xen/pcifront.h |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/include/xen/pcifront.h b/include/xen/pcifront.h
index 2557b13..bda9bd6 100644
--- a/include/xen/pcifront.h
+++ b/include/xen/pcifront.h
@@ -34,17 +34,6 @@ static inline void pcifront_init_sd(struct pcifront_sd *sd,
        sd->pdev = pdev;
 }
 
-#if defined(CONFIG_PCI_DOMAINS)
-static inline int pci_domain_nr(struct pci_bus *bus)
-{
-       struct pcifront_sd *sd = bus->sysdata;
-       return sd->domain;
-}
-static inline int pci_proc_domain(struct pci_bus *bus)
-{
-       return pci_domain_nr(bus);
-}
-#endif /* CONFIG_PCI_DOMAINS */
 
 static inline void pcifront_setup_root_resources(struct pci_bus *bus,
                                                 struct pcifront_sd *sd)
-- 
1.6.2.5


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.