diff options
Diffstat (limited to 'arch/powerpc/kvm/powerpc.c')
-rw-r--r-- | arch/powerpc/kvm/powerpc.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index 934413cd3a1b..22b33159fbc4 100644 --- a/arch/powerpc/kvm/powerpc.c +++ b/arch/powerpc/kvm/powerpc.c | |||
@@ -411,18 +411,16 @@ int kvm_arch_create_memslot(struct kvm_memory_slot *slot, unsigned long npages) | |||
411 | } | 411 | } |
412 | 412 | ||
413 | int kvm_arch_prepare_memory_region(struct kvm *kvm, | 413 | int kvm_arch_prepare_memory_region(struct kvm *kvm, |
414 | struct kvm_memory_slot *memslot, | 414 | struct kvm_memory_slot *memslot, |
415 | struct kvm_memory_slot old, | 415 | struct kvm_memory_slot old, |
416 | struct kvm_userspace_memory_region *mem, | 416 | struct kvm_userspace_memory_region *mem) |
417 | bool user_alloc) | ||
418 | { | 417 | { |
419 | return kvmppc_core_prepare_memory_region(kvm, memslot, mem); | 418 | return kvmppc_core_prepare_memory_region(kvm, memslot, mem); |
420 | } | 419 | } |
421 | 420 | ||
422 | void kvm_arch_commit_memory_region(struct kvm *kvm, | 421 | void kvm_arch_commit_memory_region(struct kvm *kvm, |
423 | struct kvm_userspace_memory_region *mem, | 422 | struct kvm_userspace_memory_region *mem, |
424 | struct kvm_memory_slot old, | 423 | struct kvm_memory_slot old) |
425 | bool user_alloc) | ||
426 | { | 424 | { |
427 | kvmppc_core_commit_memory_region(kvm, mem, old); | 425 | kvmppc_core_commit_memory_region(kvm, mem, old); |
428 | } | 426 | } |