]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/eeh: Refactor eeh_reset_pe_once()
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 20 Jun 2013 05:20:58 +0000 (13:20 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:05:54 +0000 (17:05 +1000)
commit326a98ea93b5d2bbf53db5c25533ca3a7c4cce65
tree94dc84dcbc674e9fc7997d915b0af03639868c62
parent21fd21f59082c2538883a280e7f0e9b374cf6cec
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>
arch/powerpc/kernel/eeh.c