]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: Fix compile error in EEH code with gcc4
authorPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 03:23:54 +0000 (14:23 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 03:23:54 +0000 (14:23 +1100)
Gcc 4 doesn't like being told to inline a recursive function...

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/eeh.c

index a33ba833109c5e2bfc0628af4a9179d00997be0f..3a857b22aa1ed5cbd5233b3ae26ed254294f512f 100644 (file)
@@ -478,7 +478,7 @@ static struct device_node * find_device_pe(struct device_node *dn)
  *  an interrupt context, which is bad.
  */
 
-static inline void __eeh_mark_slot (struct device_node *dn)
+static void __eeh_mark_slot (struct device_node *dn)
 {
        while (dn) {
                PCI_DN(dn)->eeh_mode |= EEH_MODE_ISOLATED;
@@ -489,7 +489,7 @@ static inline void __eeh_mark_slot (struct device_node *dn)
        }
 }
 
-static inline void __eeh_clear_slot (struct device_node *dn)
+static void __eeh_clear_slot (struct device_node *dn)
 {
        while (dn) {
                PCI_DN(dn)->eeh_mode &= ~EEH_MODE_ISOLATED;