powerpc/eeh: Cleanup on eeh_subsystem_enabled
authorGavin Shan <shangw@linux.vnet.ibm.com>
Wed, 12 Feb 2014 07:24:55 +0000 (15:24 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 17 Feb 2014 00:19:39 +0000 (11:19 +1100)
commit2ec5a0adf60c23bb6b0a95d3b96a8c1ff1e1aa5a
treee9c64931321c473731c8780c86086ac201936589
parent5b2e198e50f6ba57081586b853163ea1bb95f1a8
powerpc/eeh: Cleanup on eeh_subsystem_enabled

The patch cleans up variable eeh_subsystem_enabled so that we needn't
refer the variable directly from external. Instead, we will use
function eeh_enabled() and eeh_set_enable() to operate the variable.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh.c
arch/powerpc/platforms/powernv/eeh-powernv.c
arch/powerpc/platforms/pseries/eeh_pseries.c