KVM: PPC: Book3S HV P9: Move vcpu register save/restore into functions
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Nov 2021 09:52:06 +0000 (19:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 10:08:59 +0000 (21:08 +1100)
commit516b334210b831827e0491676625323f484275dd
tree24ab40db31a750da711878a0cbb9470856c35afd
parent0f3b6c4851aef7a98b435c6f08b2c9c88165d254
KVM: PPC: Book3S HV P9: Move vcpu register save/restore into functions

This should be no functional difference but makes the caller easier
to read.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211123095231.1036501-29-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c