Commit 0a5cab42 authored by Paul Mackerras's avatar Paul Mackerras

powerpc: Fix compile error in EEH code with gcc4

Gcc 4 doesn't like being told to inline a recursive function...
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 3db9aaaf
...@@ -478,7 +478,7 @@ static struct device_node * find_device_pe(struct device_node *dn) ...@@ -478,7 +478,7 @@ static struct device_node * find_device_pe(struct device_node *dn)
* an interrupt context, which is bad. * 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) { while (dn) {
PCI_DN(dn)->eeh_mode |= EEH_MODE_ISOLATED; PCI_DN(dn)->eeh_mode |= EEH_MODE_ISOLATED;
...@@ -489,7 +489,7 @@ static inline void __eeh_mark_slot (struct device_node *dn) ...@@ -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) { while (dn) {
PCI_DN(dn)->eeh_mode &= ~EEH_MODE_ISOLATED; PCI_DN(dn)->eeh_mode &= ~EEH_MODE_ISOLATED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment