Nathan Lynch writes:
> Move dlpar_offline_cpu() before dlpar_online_cpu() so the latter can
> use the former to re-offline any threads it has onlined when it
> encounters an error.
Since moving this code yields a few valid checkpatch warnings, I've
submitted a v2 which cleans these up first.
htt
dlpar_online_cpu() attempts to online all threads of a core that has
been added to an LPAR. If onlining a non-primary thread
fails (e.g. due to an allocation failure), the core is left with at
least one thread online. dlpar_cpu_add() attempts to roll back the
whole operation, releasing the core bac