powerpc/ps3: lv1 hcall code use symbolic constant for LR save offset
authorNicholas Piggin <npiggin@gmail.com>
Wed, 27 Dec 2023 07:24:04 +0000 (17:24 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Feb 2024 12:14:52 +0000 (23:14 +1100)
commitd901473c4dd0198d2d60553ea483d632175af4ea
tree10abb331422478a2e4403d8edefab7b858f8ebd8
parent6735fef14c1f089ae43fd6d43add818b7ff682a8
powerpc/ps3: lv1 hcall code use symbolic constant for LR save offset

The LRSAVE constant is required for assembly compiled for both 32-bit
and 64-bit, because the value differs there. PS3 is 64-bit only so
this is a noop, but it is nice to abstract stack frame offsets.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231227072405.63751-3-npiggin@gmail.com
arch/powerpc/platforms/ps3/hvcall.S