powerpc: Refactor is_kvm_guest() declaration to new header
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Wed, 2 Dec 2020 05:04:53 +0000 (10:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 13:04:17 +0000 (14:04 +0100)
commit61c5d9fa5671be8b55f7a2f04a29759d9ddaa693
tree4a18d1459ae17e500d058b89b83fac3dab309469
parent67074c63cd670878f81a50c8cc386e176ab8647a
powerpc: Refactor is_kvm_guest() declaration to new header

[ Upstream commit 92cc6bf01c7f4c5cfefd1963985c0064687ebeda ]

Only code/declaration movement, in anticipation of doing a KVM-aware
vcpu_is_preempted(). No additional changes.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201202050456.164005-2-srikar@linux.vnet.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/include/asm/firmware.h
arch/powerpc/include/asm/kvm_guest.h [new file with mode: 0644]
arch/powerpc/include/asm/kvm_para.h
arch/powerpc/kernel/firmware.c
arch/powerpc/platforms/pseries/smp.c