Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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;