KVM: x86: use list_last_entry
authorGeliang Tang <geliangtang@163.com>
Fri, 1 Jan 2016 11:47:14 +0000 (19:47 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Feb 2016 14:40:54 +0000 (15:40 +0100)
commitd74c0e6b54c95ace01f05264a22aed99b565fabb
tree21f6768b463f82183d293b1f9bbfa4efc30daf8f
parent652fc08dae8e01574cd2497d9a76948e5c9d3920
KVM: x86: use list_last_entry

To make the intention clearer, use list_last_entry instead of
list_entry.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/vmx.c