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)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:21 +0000 (01:01 +1100)
commit92cc6bf01c7f4c5cfefd1963985c0064687ebeda
tree58ec46e74841e92ef4e511d13bbfde6ab915cbfb
parentbf13718bc57ada25016d9fe80323238d0b94506e
powerpc: Refactor is_kvm_guest() declaration to new header

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
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