[PATCH] Small fix in eeh definitions when CONFIG_EEH not enabled

linas linas at austin.ibm.com
Fri Dec 30 06:14:42 EST 2005


Haren, technically, you should place a Signed-off-by: on this patch.

On Tue, Dec 27, 2005 at 06:58:29PM -0800, Haren Myneni was heard to remark:
> 
> Undefined symbols (eeh_add_device_tree_early and eeh_remove_bus_device) 
> when EEH is not enabled. This small patch will fix this.
> 
> Thanks
> Haren

Acked-by: Linas Vepstas <linas at austin.ibm.com>

> --- ppc64git/include/asm-powerpc/eeh.h.orig	2005-12-31 22:36:06.000000000 -0800
> +++ ppc64git/include/asm-powerpc/eeh.h	2005-12-31 22:39:28.000000000 -0800
> @@ -120,6 +120,9 @@ static inline void eeh_add_device_late(s
>  
>  static inline void eeh_remove_device(struct pci_dev *dev) { }
>  
> +static inline void eeh_add_device_tree_early(struct device_node *dn) { }
> +
> +static inline void eeh_remove_bus_device(struct pci_dev *dev) { }
>  #define EEH_POSSIBLE_ERROR(val, type) (0)
>  #define EEH_IO_ERROR_VALUE(size) (-1UL)
>  #endif /* CONFIG_EEH */




More information about the Linuxppc64-dev mailing list