KVM: VMX: cleanup rmode_segment_valid()
authorGleb Natapov <gleb@redhat.com>
Wed, 12 Dec 2012 17:10:49 +0000 (19:10 +0200)
committerGleb Natapov <gleb@redhat.com>
Sun, 23 Dec 2012 12:00:36 +0000 (14:00 +0200)
commit07f42f5f25dc214a33214159fc8b62b984b713eb
tree502bece6c0a8dc7da1bd668b49493681787a8941
parent116c14c0191f3378e6567af296529ac287e85aa2
KVM: VMX: cleanup rmode_segment_valid()

Set segment fields explicitly instead of using  binary operations.

No behaviour changes.

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