OSDN Git Service

powerpc/kvm/book3s: switch from raw_spin_*lock to arch_spin_lock.
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Tue, 5 May 2020 07:17:15 +0000 (12:47 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 May 2020 11:20:14 +0000 (21:20 +1000)
commit87013f9c602cfbbc0734fb2f703df9fc884d05d9
treed9dbe3fd72c5b09e31b6f906d1e47ddd4dfe62a9
parent15759cb054efdd45e6db8433a829a5734e6d50f6
powerpc/kvm/book3s: switch from raw_spin_*lock to arch_spin_lock.

These functions can get called in realmode. Hence use low level
arch_spin_lock which is safe to be called in realmode.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200505071729.54912-9-aneesh.kumar@linux.ibm.com
arch/powerpc/kvm/book3s_hv_rm_mmu.c