提交 0a5cab42 编写于 作者: P 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: NPaul Mackerras <paulus@samba.org>
上级 3db9aaaf
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册