summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-02-19 11:00:39 +0100
committerAvi Kivity <avi@redhat.com>2010-04-25 12:35:12 +0300
commitaba3bd7ffe13fad6c4483b49686ad454a4cb409b (patch)
treec42e287e9988dbeccdaba4e86d98cbe54d801653 /arch/powerpc/kvm/book3s.c
parent5467a97d0f0ac99d2db0281ce1762e85afe16da2 (diff)
downloadblackbird-op-linux-aba3bd7ffe13fad6c4483b49686ad454a4cb409b.tar.gz
blackbird-op-linux-aba3bd7ffe13fad6c4483b49686ad454a4cb409b.zip
KVM: PPC: Make ext giveup non-static
We need to call the ext giveup handlers from code outside of book3s.c. So let's make it non-static. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/book3s.c')
-rw-r--r--arch/powerpc/kvm/book3s.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c
index a9f45197a036..38f242a690f7 100644
--- a/arch/powerpc/kvm/book3s.c
+++ b/arch/powerpc/kvm/book3s.c
@@ -36,7 +36,6 @@
/* #define EXIT_DEBUG_SIMPLE */
/* #define DEBUG_EXT */
-static void kvmppc_giveup_ext(struct kvm_vcpu *vcpu, ulong msr);
static int kvmppc_handle_ext(struct kvm_vcpu *vcpu, unsigned int exit_nr,
ulong msr);
@@ -598,7 +597,7 @@ static inline int get_fpr_index(int i)
}
/* Give up external provider (FPU, Altivec, VSX) */
-static void kvmppc_giveup_ext(struct kvm_vcpu *vcpu, ulong msr)
+void kvmppc_giveup_ext(struct kvm_vcpu *vcpu, ulong msr)
{
struct thread_struct *t = &current->thread;
u64 *vcpu_fpr = vcpu->arch.fpr;
OpenPOWER on IntegriCloud