powerpc/pseries/mobility: use struct for shared state

The atomic_t counter is the only shared state for the join/suspend
sequence so far, but that will change. Contain it in a
struct (pseries_suspend_info), and document its intended use. No
functional change.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210315080045.460331-2-nathanl@linux.ibm.com
This commit is contained in:
Nathan Lynch 2021-03-15 03:00:44 -05:00 • committed by Michael Ellerman
commit e834df6cfc