diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2021-09-27 15:19:33 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-10-09 00:16:00 +1100 |
commit | f9473a65719e59c45f1638cc04db7c80de8fcc1a (patch) | |
tree | 9bd4e2ac45d2eb74166acf604a6a25dd6c35848e | |
parent | fa2a5dfe2ddd0e7c77e5f608e1fa374192e5be97 (diff) | |
download | linux-f9473a65719e59c45f1638cc04db7c80de8fcc1a.tar.gz linux-f9473a65719e59c45f1638cc04db7c80de8fcc1a.tar.bz2 linux-f9473a65719e59c45f1638cc04db7c80de8fcc1a.zip |
powerpc/pseries/cpuhp: remove obsolete comment from pseries_cpu_die
This comment likely refers to the obsolete DLPAR workflow where some
resource state transitions were driven more directly from user space
utilities, but it also seems to contradict itself: "Change isolate state to
Isolate [...]" is at odds with the preceding sentences, and it does not
relate at all to the code that follows.
Remove it to prevent confusion.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210927201933.76786-5-nathanl@linux.ibm.com
-rw-r--r-- | arch/powerpc/platforms/pseries/hotplug-cpu.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/pseries/hotplug-cpu.c b/arch/powerpc/platforms/pseries/hotplug-cpu.c index b50f3e9aa259..5ab44600c8d3 100644 --- a/arch/powerpc/platforms/pseries/hotplug-cpu.c +++ b/arch/powerpc/platforms/pseries/hotplug-cpu.c @@ -137,11 +137,6 @@ static void pseries_cpu_die(unsigned int cpu) cpu, pcpu); } - /* Isolation and deallocation are definitely done by - * drslot_chrp_cpu. If they were not they would be - * done here. Change isolate state to Isolate and - * change allocation-state to Unusable. - */ paca_ptrs[cpu]->cpu_start = 0; } |