commit | 89a51df5ab1d38b257300b8ac940bbac3bb0eb9b | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Tue Apr 14 16:49:05 2015 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Apr 14 17:13:31 2015 +1000 |
tree | fd7a905d056cf98088657b2e365909d30b84b11a | |
parent | 9a5cbce421a283e6aea3c4007f141735bf9da8c3 [diff] |
powerpc/eeh: Fix crash in eeh_add_device_early() on Cell The recent change to the EEH probing causes a crash on Cell because eeh_ops is NULL. Check if EEH is enabled and if not bail out. Fixes: ff57b454ddb9 ("powerpc/eeh: Do probe on pci_dn") Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>