From: Avi Kivity Date: Tue, 27 May 2008 13:26:01 +0000 (+0300) Subject: KVM: Order segment register constants in the same way as cpu operand encoding X-Git-Tag: v2.6.27-rc1~968^2~50 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=81609e3e26508840a1b51414376f2541dd191483;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index bacb1e24036..075598b4e3f 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, };