KVM: VMX: clean-up vmx_set_segment()
authorGleb Natapov <gleb@redhat.com>
Wed, 12 Dec 2012 17:10:54 +0000 (19:10 +0200)
committerGleb Natapov <gleb@redhat.com>
Sun, 23 Dec 2012 12:01:49 +0000 (14:01 +0200)
commit1ecd50a9474c4bfa3129d90cfcf1c1eb4fbf19e7
tree5b2c14e6ef0353c7f89c101921d2579397ea1ec5
parent39dcfb95def4646ecdb76ea7a7491e8420dce7a7
KVM: VMX: clean-up vmx_set_segment()

Move all vm86_active logic into one place.

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