powerpc/kerenl: Enable EEH for IO accessors
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Mon, 23 Jun 2014 00:56:22 +0000 (10:56 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Jun 2014 02:43:13 +0000 (12:43 +1000)
commit0eb5736828722bd274519fab87b915da287ffd59
tree64104632ccda701e0c6d22753c03672d8b236d2a
parent68986c9f0f4552c34c248501eb0c690553866d6e
powerpc/kerenl: Enable EEH for IO accessors

In arch/powerpc/kernel/iomap.c, lots of IO reading accessors missed
to check EEH error as Ben pointed. The patch fixes it.

For the writing accessors, we change the called functions only for
making them look similar to the reading counterparts.

Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/iomap.c