]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] EEH: Fix PCI bridge handling bug
authorLinas Vepstas <linas@austin.ibm.com>
Thu, 26 Jul 2007 22:33:58 +0000 (08:33 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:50 +0000 (11:01 +1000)
commit1fbbd6fabcc2f6e1adcbdaee6dc3c79e95cd26e1
tree4bc69489b35b2861daf4f8254a2ae1a8211c64a4
parent238af9930eb726c7e85e45e8d190e5f7bfd84698
[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>
arch/powerpc/platforms/pseries/eeh_cache.c