]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c4ad0f329084fb18a7cc69812a36fd4d3d27b3d
tree64104632ccda701e0c6d22753c03672d8b236d2a
parentb3087605f9d98d9be43f838380394c00e9589275
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