Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / arch / powerpc / kernel / eeh.c
index 6544017eb90b837f99e78681b9c149d0c3a9f74d..c9bc78e9c6101b2ae5016efec858c5c38b0f4158 100644 (file)
@@ -48,7 +48,7 @@
 
 
 /** Overview:
- *  EEH, or "Extended Error Handling" is a PCI bridge technology for
+ *  EEH, or "Enhanced Error Handling" is a PCI bridge technology for
  *  dealing with PCI bus errors that can't be dealt with within the
  *  usual PCI framework, except by check-stopping the CPU.  Systems
  *  that are designed for high-availability/reliability cannot afford
@@ -1068,7 +1068,7 @@ void eeh_add_device_early(struct pci_dn *pdn)
        struct pci_controller *phb;
        struct eeh_dev *edev = pdn_to_eeh_dev(pdn);
 
-       if (!edev || !eeh_enabled())
+       if (!edev)
                return;
 
        if (!eeh_has_flag(EEH_PROBE_MODE_DEVTREE))
@@ -1336,14 +1336,11 @@ static int eeh_pe_change_owner(struct eeh_pe *pe)
                            id->subdevice != pdev->subsystem_device)
                                continue;
 
-                       goto reset;
+                       return eeh_pe_reset_and_recover(pe);
                }
        }
 
        return eeh_unfreeze_pe(pe, true);
-
-reset:
-       return eeh_pe_reset_and_recover(pe);
 }
 
 /**
This page took 0.042857 seconds and 5 git commands to generate.