diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2012-11-22 21:58:26 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-11-26 09:14:16 +1100 |
commit | e716e014384688d1a50d1aa5213ee74748c6d4e0 (patch) | |
tree | f619f557bc95ce22c6b787a408b2acc77f68d01f /mm/swapfile.c | |
parent | bb4618823a3389086f157fafb2a0d97cade8d89f (diff) | |
download | op-kernel-dev-e716e014384688d1a50d1aa5213ee74748c6d4e0.zip op-kernel-dev-e716e014384688d1a50d1aa5213ee74748c6d4e0.tar.gz |
powerpc/eeh: Do not invalidate PE properly
While the EEH does recovery on the specific PE that has PCI errors,
the PCI devices belonging to the PE will be removed and the PE will
be marked as invalid since we still need the information stored in
the PE. We only invalidate the PE when it doesn't have associated
EEH devices and valid child PEs. However, the code used to check
that is wrong. The patch fixes that.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions