summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/eeh_driver.c
diff options
context:
space:
mode:
authorSam Bobroff <sbobroff@linux.ibm.com>2018-11-29 14:16:38 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2019-02-05 11:55:42 +1100
commit188fdea69fa91dcd674a3d40f060a5891d4bc45a (patch)
tree28ed66d5fe98301096cc7c5b24784f9df151a1bd /arch/powerpc/kernel/eeh_driver.c
parent3376cb91ed908eb0728900894a77d8206574dbcd (diff)
powerpc/eeh: remove sw_state from eeh_unfreeze_pe()
eeh_unfreeze_pe() performs two operations: unfreezing a PE (which may cause firmware to unfreeze child PEs as well) and de-isolating the PE and it's children. To simplify this and support future work, separate out the de-isolation and perform it at the call sites (when necessary). There should be no change in behaviour. Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/eeh_driver.c')
-rw-r--r--arch/powerpc/kernel/eeh_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/eeh_driver.c b/arch/powerpc/kernel/eeh_driver.c
index 3456d9c2d4da..5303429ac0e3 100644
--- a/arch/powerpc/kernel/eeh_driver.c
+++ b/arch/powerpc/kernel/eeh_driver.c
@@ -598,7 +598,7 @@ static int eeh_clear_pe_frozen_state(struct eeh_pe *root)
eeh_for_each_pe(root, pe) {
for (i = 0; i < 3; i++)
- if (!eeh_unfreeze_pe(pe, false))
+ if (!eeh_unfreeze_pe(pe))
break;
if (i >= 3)
return -EIO;