2010-11-04 10:25:20

by Xiao Guangrong

[permalink] [raw]
Subject: [PATCH] KVM: remove unused function declaration

Remove the declaration of kvm_mmu_set_base_ptes()

Signed-off-by: Xiao Guangrong <[email protected]>
---
arch/x86/include/asm/kvm_host.h | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 1be0058..7f20f2c 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -611,7 +611,6 @@ void kvm_mmu_destroy(struct kvm_vcpu *vcpu);
int kvm_mmu_create(struct kvm_vcpu *vcpu);
int kvm_mmu_setup(struct kvm_vcpu *vcpu);
void kvm_mmu_set_nonpresent_ptes(u64 trap_pte, u64 notrap_pte);
-void kvm_mmu_set_base_ptes(u64 base_pte);
void kvm_mmu_set_mask_ptes(u64 user_mask, u64 accessed_mask,
u64 dirty_mask, u64 nx_mask, u64 x_mask);

--
1.7.0.4


2010-11-09 14:01:29

by Avi Kivity

[permalink] [raw]
Subject: Re: [PATCH] KVM: remove unused function declaration

On 11/04/2010 12:29 PM, Xiao Guangrong wrote:
> Remove the declaration of kvm_mmu_set_base_ptes()
>

Applied, thanks.

--
error compiling committee.c: too many arguments to function