aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-05-27 09:26:01 -0400
committerAvi Kivity <avi@qumranet.com>2008-07-20 05:42:26 -0400
commit81609e3e26508840a1b51414376f2541dd191483 (patch)
tree415e617271bc171ba5252b8d08e967bd6c088960
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>
-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 {
109}; 109};
110 110
111enum { 111enum {
112 VCPU_SREG_ES,
112 VCPU_SREG_CS, 113 VCPU_SREG_CS,
114 VCPU_SREG_SS,
113 VCPU_SREG_DS, 115 VCPU_SREG_DS,
114 VCPU_SREG_ES,
115 VCPU_SREG_FS, 116 VCPU_SREG_FS,
116 VCPU_SREG_GS, 117 VCPU_SREG_GS,
117 VCPU_SREG_SS,
118 VCPU_SREG_TR, 118 VCPU_SREG_TR,
119 VCPU_SREG_LDTR, 119 VCPU_SREG_LDTR,
120}; 120};