summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s_xics.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-04-05 09:54:52 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-10 13:43:15 +0200
commit936774cd3fc8152e36c18a129fa940c42c177d14 (patch)
treea96f0ec78ef2489af55409477c311514c5856f5d /arch/powerpc/kvm/book3s_xics.c
parentpowerpc/kvm: Massage order of #include (diff)
downloadlinux-936774cd3fc8152e36c18a129fa940c42c177d14.tar.xz
linux-936774cd3fc8152e36c18a129fa940c42c177d14.zip
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/book3s_xics.c')
-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;