powerpc/pseries/hibernation: pass stream id via function arguments
authorNathan Lynch <nathanl@linux.ibm.com>
Mon, 7 Dec 2020 21:51:50 +0000 (15:51 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Dec 2020 10:41:00 +0000 (21:41 +1100)
commita10a5a17f4ac4f84fcc26162d43b53e2a4e1009a
tree8c1f40ea829906b97400cea251f96ce5c5804aae
parent52719fce3f4c7a8ac9eaa191e8d75a697f9fbcbc
powerpc/pseries/hibernation: pass stream id via function arguments

There is no need for the stream id to be a file-global variable; pass
it from hibernate_store() to pseries_suspend_begin() for the
H_VASI_STATE call.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201207215200.1785968-19-nathanl@linux.ibm.com
arch/powerpc/platforms/pseries/suspend.c