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>
This commit is contained in:
parent
3db9aaaf87
commit
0a5cab42a1
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue