summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2014-07-14 18:27:35 +0200
committerAlexander Graf <agraf@suse.de>2014-07-28 15:23:17 +0200
commit784aa3d7fb6f729c06d5836c9d9569f58e4d05ae (patch)
tree301ddcd02c27f91d488857d6df1bca5ea4c68bd7 /arch/powerpc/kvm
parent9678cdaae93932473f696fdea5debf3eee1e1260 (diff)
downloadlinux-rpi3-784aa3d7fb6f729c06d5836c9d9569f58e4d05ae.tar.gz
linux-rpi3-784aa3d7fb6f729c06d5836c9d9569f58e4d05ae.tar.bz2
linux-rpi3-784aa3d7fb6f729c06d5836c9d9569f58e4d05ae.zip
KVM: Rename and add argument to check_extension
In preparation to make the check_extension function available to VM scope we add a struct kvm * argument to the function header and rename the function accordingly. It will still be called from the /dev/kvm fd, but with a NULL argument for struct kvm *. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r--arch/powerpc/kvm/powerpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c
index 8e0356835960..d870bacc2f75 100644
--- a/arch/powerpc/kvm/powerpc.c
+++ b/arch/powerpc/kvm/powerpc.c
@@ -391,7 +391,7 @@ void kvm_arch_sync_events(struct kvm *kvm)
{
}
-int kvm_dev_ioctl_check_extension(long ext)
+int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext)
{
int r;
/* FIXME!!