aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/eeh.h4
-rw-r--r--arch/powerpc/include/asm/ppc-pci.h7
2 files changed, 5 insertions, 6 deletions
diff --git a/arch/powerpc/include/asm/eeh.h b/arch/powerpc/include/asm/eeh.h
index ebfdb7c9d023..58c5ee61e700 100644
--- a/arch/powerpc/include/asm/eeh.h
+++ b/arch/powerpc/include/asm/eeh.h
@@ -197,7 +197,7 @@ int __exit eeh_ops_unregister(const char *name);
197unsigned long eeh_check_failure(const volatile void __iomem *token, 197unsigned long eeh_check_failure(const volatile void __iomem *token,
198 unsigned long val); 198 unsigned long val);
199int eeh_dev_check_failure(struct eeh_dev *edev); 199int eeh_dev_check_failure(struct eeh_dev *edev);
200void __init pci_addr_cache_build(void); 200void __init eeh_addr_cache_build(void);
201void eeh_add_device_tree_early(struct device_node *); 201void eeh_add_device_tree_early(struct device_node *);
202void eeh_add_device_tree_late(struct pci_bus *); 202void eeh_add_device_tree_late(struct pci_bus *);
203void eeh_remove_bus_device(struct pci_dev *); 203void eeh_remove_bus_device(struct pci_dev *);
@@ -233,7 +233,7 @@ static inline unsigned long eeh_check_failure(const volatile void __iomem *token
233 233
234#define eeh_dev_check_failure(x) (0) 234#define eeh_dev_check_failure(x) (0)
235 235
236static inline void pci_addr_cache_build(void) { } 236static inline void eeh_addr_cache_build(void) { }
237 237
238static inline void eeh_add_device_tree_early(struct device_node *dn) { } 238static inline void eeh_add_device_tree_early(struct device_node *dn) { }
239 239
diff --git a/arch/powerpc/include/asm/ppc-pci.h b/arch/powerpc/include/asm/ppc-pci.h
index 962a9021cfa6..ed57fa7920c8 100644
--- a/arch/powerpc/include/asm/ppc-pci.h
+++ b/arch/powerpc/include/asm/ppc-pci.h
@@ -47,10 +47,9 @@ extern int rtas_setup_phb(struct pci_controller *phb);
47 47
48#ifdef CONFIG_EEH 48#ifdef CONFIG_EEH
49 49
50void pci_addr_cache_build(void); 50void eeh_addr_cache_insert_dev(struct pci_dev *dev);
51void pci_addr_cache_insert_device(struct pci_dev *dev); 51void eeh_addr_cache_rmv_dev(struct pci_dev *dev);
52void pci_addr_cache_remove_device(struct pci_dev *dev); 52struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr);
53struct eeh_dev *pci_addr_cache_get_device(unsigned long addr);
54void eeh_slot_error_detail(struct eeh_pe *pe, int severity); 53void eeh_slot_error_detail(struct eeh_pe *pe, int severity);
55int eeh_pci_enable(struct eeh_pe *pe, int function); 54int eeh_pci_enable(struct eeh_pe *pe, int function);
56int eeh_reset_pe(struct eeh_pe *); 55int eeh_reset_pe(struct eeh_pe *);