aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_guest.h
diff options
context:
space:
mode:
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>2020-12-02 10:34:54 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-04 01:01:21 +1100
commit16520a858a995742c2d2248e86a6026bd0316562 (patch)
treedb275b58788addf409b3e1754474bf64844876bb /arch/powerpc/include/asm/kvm_guest.h
parentpowerpc: Refactor is_kvm_guest() declaration to new header (diff)
downloadlinux-dev-16520a858a995742c2d2248e86a6026bd0316562.tar.xz
linux-dev-16520a858a995742c2d2248e86a6026bd0316562.zip
powerpc: Rename is_kvm_guest() to check_kvm_guest()
We want to reuse the is_kvm_guest() name in a subsequent patch but with a new body. Hence rename is_kvm_guest() to check_kvm_guest(). No additional changes. Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Acked-by: Waiman Long <longman@redhat.com> Signed-off-by: kernel test robot <lkp@intel.com> # int -> bool fix [mpe: Fold in fix from lkp to use true/false not 0/1] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201202050456.164005-3-srikar@linux.vnet.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/kvm_guest.h')
-rw-r--r--arch/powerpc/include/asm/kvm_guest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/kvm_guest.h b/arch/powerpc/include/asm/kvm_guest.h
index d2c946dbbd2c..d7749ecb30d4 100644
--- a/arch/powerpc/include/asm/kvm_guest.h
+++ b/arch/powerpc/include/asm/kvm_guest.h
@@ -7,9 +7,9 @@
#define _ASM_POWERPC_KVM_GUEST_H_
#if defined(CONFIG_PPC_PSERIES) || defined(CONFIG_KVM_GUEST)
-bool is_kvm_guest(void);
+bool check_kvm_guest(void);
#else
-static inline bool is_kvm_guest(void) { return false; }
+static inline bool check_kvm_guest(void) { return false; }
#endif
#endif /* _ASM_POWERPC_KVM_GUEST_H_ */