diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2007-07-27 00:33:58 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-17 03:01:50 +0200 |
commit | 093eda3ce5dc3758c9a5e806ea6573bfffed3ff7 (patch) | |
tree | 4bc69489b35b2861daf4f8254a2ae1a8211c64a4 /arch/powerpc/platforms/pseries/eeh.c | |
parent | [POWERPC] EEH: Tweak printk message (diff) | |
download | linux-093eda3ce5dc3758c9a5e806ea6573bfffed3ff7.tar.xz linux-093eda3ce5dc3758c9a5e806ea6573bfffed3ff7.zip |
[POWERPC] EEH: Fix PCI bridge handling bug
The EEH code needs to ignore PCI bridges; sort-of. It was ignoring
them in the wrong place, and thus failing to set up the
PCI_DN(dn)->pcidev pointer. Imprudent dereferencing of this pointer
would lead to a crash on cards with bridges.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
----
arch/powerpc/platforms/pseries/eeh_cache.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/eeh.c')
0 files changed, 0 insertions, 0 deletions