summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-04-05 10:54:52 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-10 14:43:15 +0300
commit936774cd3fc8152e36c18a129fa940c42c177d14 (patch)
treea96f0ec78ef2489af55409477c311514c5856f5d /arch/powerpc/kvm
parentd3989143d03917ddcf7103d4ad5fc871e8d8954b (diff)
downloadlinux-936774cd3fc8152e36c18a129fa940c42c177d14.tar.xz
powerpc/kvm: Make kvmppc_xics_create_icp static
It's only used within the same file it's defined Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r--arch/powerpc/kvm/book3s_xics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_xics.c b/arch/powerpc/kvm/book3s_xics.c
index e48803e2918d..ef4fd528c193 100644
--- a/arch/powerpc/kvm/book3s_xics.c
+++ b/arch/powerpc/kvm/book3s_xics.c
@@ -1084,7 +1084,7 @@ static struct kvmppc_ics *kvmppc_xics_create_ics(struct kvm *kvm,
return xics->ics[icsid];
}
-int kvmppc_xics_create_icp(struct kvm_vcpu *vcpu, unsigned long server_num)
+static int kvmppc_xics_create_icp(struct kvm_vcpu *vcpu, unsigned long server_num)
{
struct kvmppc_icp *icp;