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:
Paul Mackerras 2005-11-10 14:23:54 +11:00
Родитель 3db9aaaf87
Коммит 0a5cab42a1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;