diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-09 22:23:54 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-09 22:23:54 -0500 |
commit | 0a5cab42a1317326d87b0d074df50705a0c3fa77 (patch) | |
tree | ce08c35145f6465b65a83db8957fd29fe2aa997f /arch | |
parent | 3db9aaaf87b77eb9669157c723f6cb7e234bcef0 (diff) |
powerpc: Fix compile error in EEH code with gcc4
Gcc 4 doesn't like being told to inline a recursive function...
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c index a33ba833109c..3a857b22aa1e 100644 --- a/arch/powerpc/platforms/pseries/eeh.c +++ b/arch/powerpc/platforms/pseries/eeh.c | |||
@@ -478,7 +478,7 @@ static struct device_node * find_device_pe(struct device_node *dn) | |||
478 | * an interrupt context, which is bad. | 478 | * an interrupt context, which is bad. |
479 | */ | 479 | */ |
480 | 480 | ||
481 | static inline void __eeh_mark_slot (struct device_node *dn) | 481 | static void __eeh_mark_slot (struct device_node *dn) |
482 | { | 482 | { |
483 | while (dn) { | 483 | while (dn) { |
484 | PCI_DN(dn)->eeh_mode |= EEH_MODE_ISOLATED; | 484 | PCI_DN(dn)->eeh_mode |= EEH_MODE_ISOLATED; |
@@ -489,7 +489,7 @@ static inline void __eeh_mark_slot (struct device_node *dn) | |||
489 | } | 489 | } |
490 | } | 490 | } |
491 | 491 | ||
492 | static inline void __eeh_clear_slot (struct device_node *dn) | 492 | static void __eeh_clear_slot (struct device_node *dn) |
493 | { | 493 | { |
494 | while (dn) { | 494 | while (dn) { |
495 | PCI_DN(dn)->eeh_mode &= ~EEH_MODE_ISOLATED; | 495 | PCI_DN(dn)->eeh_mode &= ~EEH_MODE_ISOLATED; |