diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2020-08-04 23:02:17 +0530 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2020-08-07 16:00:20 +1000 |
commit | eb344bda04137c4bf694a711479c2d9a05fc277d (patch) | |
tree | 8d41c6ac070efe8b048ef2b300890fb74968afc7 /core/direct-controls.c | |
parent | 98f5834253c7e940f961ad68a02ff13f817b06fe (diff) | |
download | skiboot-eb344bda04137c4bf694a711479c2d9a05fc277d.zip skiboot-eb344bda04137c4bf694a711479c2d9a05fc277d.tar.gz skiboot-eb344bda04137c4bf694a711479c2d9a05fc277d.tar.bz2 |
direct-ctl: Use the EC primary for special wakeups
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'core/direct-controls.c')
-rw-r--r-- | core/direct-controls.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/direct-controls.c b/core/direct-controls.c index 793ef29..65cf122 100644 --- a/core/direct-controls.c +++ b/core/direct-controls.c @@ -519,7 +519,7 @@ static int p9_sreset_thread(struct cpu_thread *cpu) int dctl_set_special_wakeup(struct cpu_thread *t) { - struct cpu_thread *c = t->primary; + struct cpu_thread *c = t->ec_primary; int rc = OPAL_SUCCESS; if (proc_gen == proc_gen_unknown) @@ -541,7 +541,7 @@ int dctl_set_special_wakeup(struct cpu_thread *t) int dctl_clear_special_wakeup(struct cpu_thread *t) { - struct cpu_thread *c = t->primary; + struct cpu_thread *c = t->ec_primary; int rc = OPAL_SUCCESS; if (proc_gen == proc_gen_unknown) @@ -589,7 +589,7 @@ int dctl_core_is_gated(struct cpu_thread *t) static int dctl_stop(struct cpu_thread *t) { - struct cpu_thread *c = t->primary; + struct cpu_thread *c = t->ec_primary; int rc; lock(&c->dctl_lock); @@ -637,7 +637,7 @@ static int dctl_cont(struct cpu_thread *t) */ static int dctl_sreset(struct cpu_thread *t) { - struct cpu_thread *c = t->primary; + struct cpu_thread *c = t->ec_primary; int rc; lock(&c->dctl_lock); |