lkml.org 
[lkml]   [2010]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/3] KVM: SVM: Remove flush_guest_tlb function
    Date
    This function is unused and there is svm_flush_tlb which
    does the same. So this function can be removed.

    Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
    ---
    arch/x86/kvm/svm.c | 5 -----
    1 files changed, 0 insertions(+), 5 deletions(-)

    diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
    index c00ea90..772d48e 100644
    --- a/arch/x86/kvm/svm.c
    +++ b/arch/x86/kvm/svm.c
    @@ -389,11 +389,6 @@ static inline void force_new_asid(struct kvm_vcpu *vcpu)
    to_svm(vcpu)->asid_generation--;
    }

    -static inline void flush_guest_tlb(struct kvm_vcpu *vcpu)
    -{
    - force_new_asid(vcpu);
    -}
    -
    static int get_npt_level(void)
    {
    #ifdef CONFIG_X86_64
    --
    1.7.1



    \
     
     \ /
      Last update: 2010-12-03 15:27    [W:0.026 / U:29.376 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site