powerpc/rtas: remove ibm_suspend_me_token
authorNathan Lynch <nathanl@linux.ibm.com>
Thu, 8 Apr 2021 14:06:28 +0000 (09:06 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:16 +0000 (23:04 +1000)
commit0ab1c929ae38262c4deb18b4a2e03a4f0cb5c5ed
tree2eb091071f8f63c5532fc549d379b866a42e3205
parent01c1b9984a12a379f332c39c4b1fd96e473b93b0
powerpc/rtas: remove ibm_suspend_me_token

There's not a compelling reason to cache the value of the token for
the ibm,suspend-me function. Just look it up when needed in the RTAS
syscall's special case for it.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210408140630.205502-4-nathanl@linux.ibm.com
arch/powerpc/kernel/rtas.c