]> Pileus Git - ~andy/linux/commit
powerpc/eeh: Enhance converting EEH dev
authorGavin Shan <shangw@linux.vnet.ibm.com>
Wed, 5 Jun 2013 07:34:03 +0000 (15:34 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:04:36 +0000 (17:04 +1000)
commit2d5c121678ce2c7e12ecc174121badeea0b98fe0
tree770af62b61e279dfcd88f1c8e368c0dd9271557e
parent5fb621698e94e3af8b413d9439041fde48e2784d
powerpc/eeh: Enhance converting EEH dev

Under some special circumstances, the EEH device doesn't have the
associated device tree node or PCI device. The patch enhances those
functions converting EEH device to device tree node or PCI device
accordingly to avoid unnecessary system crash.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/eeh.h