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)
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>

No differences found