summaryrefslogtreecommitdiff
path: root/include/asm-x86/kvm_host.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-05-27 16:26:01 +0300
committerAvi Kivity <avi@qumranet.com>2008-07-20 12:42:26 +0300
commit81609e3e26508840a1b51414376f2541dd191483 (patch)
tree415e617271bc171ba5252b8d08e967bd6c088960 /include/asm-x86/kvm_host.h
parentf08864b42a45581a64558aa5b6b673c77b97ee5d (diff)
KVM: Order segment register constants in the same way as cpu operand encoding
This can be used to simplify the x86 instruction decoder. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86/kvm_host.h')
-rw-r--r--include/asm-x86/kvm_host.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h
index bacb1e24036e..075598b4e3f3 100644
--- a/include/asm-x86/kvm_host.h
+++ b/include/asm-x86/kvm_host.h
@@ -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,
};