KVM: MMU: make spte_is_locklessly_modifiable() more clear
authorGleb Natapov <gleb@redhat.com>
Wed, 30 Jan 2013 14:45:00 +0000 (16:45 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 5 Feb 2013 01:24:28 +0000 (23:24 -0200)
commitfeb3eb704a86d97edb296502e95da42d622dac61
tree72353f4f448128ce8037532ff35db90f88b9f813
parent75d61fbcf563373696578570e914f555e12c8d97
KVM: MMU: make spte_is_locklessly_modifiable() more clear

spte_is_locklessly_modifiable() checks that both SPTE_HOST_WRITEABLE and
SPTE_MMU_WRITEABLE are present on spte. Make it more explicit.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c