commit | 326a98ea93b5d2bbf53db5c25533ca3a7c4cce65 | [log] [tgz] |
---|---|---|
author | Gavin Shan <shangw@linux.vnet.ibm.com> | Thu Jun 20 13:20:58 2013 +0800 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Jun 20 17:05:54 2013 +1000 |
tree | 94dc84dcbc674e9fc7997d915b0af03639868c62 | |
parent | 21fd21f59082c2538883a280e7f0e9b374cf6cec [diff] |
powerpc/eeh: Refactor eeh_reset_pe_once() We shouldn't check that the returned PE status is exactly equal to (EEH_STATE_MMIO_ACTIVE | EEH_STATE_DMA_ACTIVE) but instead only check that they are both set. [benh: changelog] Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>