]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: use fix_rmode_seg() to fix all code/data segments
authorGleb Natapov <gleb@redhat.com>
Wed, 12 Dec 2012 17:10:52 +0000 (19:10 +0200)
committerGleb Natapov <gleb@redhat.com>
Sun, 23 Dec 2012 12:01:18 +0000 (14:01 +0200)
commit24d2585161394cc53c89072559e726566a405b47
treecedb2df0f6e3c3b82b8576b6b514935654d663f1
parent1de5aab01e2a7f1d7f99e9b143f5abf210b4c411
KVM: VMX: use fix_rmode_seg() to fix all code/data segments

The code for SS and CS does the same thing fix_rmode_seg() is doing.
Use it instead of hand crafted code.

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