]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb12ad680c8b9fd038b4caddbca8a05cf0b330e71
tree502bece6c0a8dc7da1bd668b49493681787a8941
parent7e157b6b736890bfd1b625a56310d6a6045c97ac
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