On 7/25/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Nguyen Anh Quynh wrote:
> > On 7/24/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> >> Nguyen Anh Quynh wrote:
> >> > This patch removes some unused functions in mmu.c
> >>
> >> > -static int is_nx(struct kvm_vcpu *vcpu)
> >> > -{
> >> > - return
Nguyen Anh Quynh wrote:
> On 7/24/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
>> Nguyen Anh Quynh wrote:
>> > This patch removes some unused functions in mmu.c
>>
>> > -static int is_nx(struct kvm_vcpu *vcpu)
>> > -{
>> > - return vcpu->shadow_efer & EFER_NX;
>> > -}
>> > -
>>
>> is_nx() for exam
On 7/24/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Nguyen Anh Quynh wrote:
> > This patch removes some unused functions in mmu.c
>
> > -static int is_nx(struct kvm_vcpu *vcpu)
> > -{
> > - return vcpu->shadow_efer & EFER_NX;
> > -}
> > -
>
> is_nx() for example, is used.
>
> More care, please.
Nguyen Anh Quynh wrote:
> This patch removes some unused functions in mmu.c
> -static int is_nx(struct kvm_vcpu *vcpu)
> -{
> - return vcpu->shadow_efer & EFER_NX;
> -}
> -
is_nx() for example, is used.
More care, please.
--
error compiling committee.c: too many arguments to function
--
This patch removes some unused functions in mmu.c
Signed-off-by: Nguyen Anh Quynh <[EMAIL PROTECTED]>
diff --git a/drivers/kvm/mmu.c b/drivers/kvm/mmu.c
index a7985b1..13fb6bb 100644
--- a/drivers/kvm/mmu.c
+++ b/drivers/kvm/mmu.c
@@ -156,21 +156,6 @@ static struct kmem_cache *pte_chain_cache;
s