Commit a446218a authored by Tim Gardner's avatar Tim Gardner Committed by Kamal Mostafa

Revert "UBUNTU: SAUCE: powerpc/eeh: Validate arch in eeh_add_device_early()"

BugLink: http://bugs.launchpad.net/bugs/1599250

This reverts commit 623aabd5.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent f3a760fc
......@@ -1072,13 +1072,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)
return;
/* Some platforms (like Cell) don't have EEH capabilities, so we
* need to abort here. In case of pseries or powernv, we have EEH
* so we can continue. */
if (!machine_is(pseries) && !machine_is(powernv))
if (!edev || !eeh_enabled())
return;
if (!eeh_has_flag(EEH_PROBE_MODE_DEVTREE))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment