diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2014-02-12 15:24:55 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-02-17 11:19:39 +1100 |
commit | 2ec5a0adf60c23bb6b0a95d3b96a8c1ff1e1aa5a (patch) | |
tree | e9c64931321c473731c8780c86086ac201936589 /arch/powerpc/platforms/pseries | |
parent | 5b2e198e50f6ba57081586b853163ea1bb95f1a8 (diff) | |
download | blackbird-op-linux-2ec5a0adf60c23bb6b0a95d3b96a8c1ff1e1aa5a.tar.gz blackbird-op-linux-2ec5a0adf60c23bb6b0a95d3b96a8c1ff1e1aa5a.zip |
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>
Diffstat (limited to 'arch/powerpc/platforms/pseries')
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh_pseries.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh_pseries.c b/arch/powerpc/platforms/pseries/eeh_pseries.c index 9ef3cc8ebc11..8a8f0472d98f 100644 --- a/arch/powerpc/platforms/pseries/eeh_pseries.c +++ b/arch/powerpc/platforms/pseries/eeh_pseries.c @@ -265,7 +265,7 @@ static void *pseries_eeh_of_probe(struct device_node *dn, void *flag) enable = 1; if (enable) { - eeh_subsystem_enabled = 1; + eeh_set_enable(true); eeh_add_to_parent_pe(edev); pr_debug("%s: EEH enabled on %s PHB#%d-PE#%x, config addr#%x\n", |