]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
KVM: Order segment register constants in the same way as cpu operand encoding
authorAvi Kivity <avi@qumranet.com>
Tue, 27 May 2008 13:26:01 +0000 (16:26 +0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:26 +0000 (12:42 +0300)
This can be used to simplify the x86 instruction decoder.

Signed-off-by: Avi Kivity <avi@qumranet.com>
include/asm-x86/kvm_host.h

index bacb1e24036e66927e03c2eaee19d676ba3a2f70..075598b4e3f36d645e4e4876609ee822385c041c 100644 (file)
@@ -109,12 +109,12 @@ enum {
 };
 
 enum {
+       VCPU_SREG_ES,
        VCPU_SREG_CS,
+       VCPU_SREG_SS,
        VCPU_SREG_DS,
-       VCPU_SREG_ES,
        VCPU_SREG_FS,
        VCPU_SREG_GS,
-       VCPU_SREG_SS,
        VCPU_SREG_TR,
        VCPU_SREG_LDTR,
 };