summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-08-01 09:07:29 (GMT)
committerAvi Kivity <avi@redhat.com>2010-10-24 08:50:33 (GMT)
commit09ee57cdae3156aa3b74f378a0c57ef657c90f38 (patch)
tree4a5ef03f67ef75644bad8cdbc7c41944f1a0139f /arch/x86/include
parentdbe7758482a870f30a86bdeefebf4fc260afef11 (diff)
downloadlinux-fsl-qoriq-09ee57cdae3156aa3b74f378a0c57ef657c90f38.tar.xz
KVM: x86 emulator: push segment override out of decode_modrm()
Let it compute modrm_seg instead, and have the caller apply it. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_emulate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h
index 8762411..cbdf767 100644
--- a/arch/x86/include/asm/kvm_emulate.h
+++ b/arch/x86/include/asm/kvm_emulate.h
@@ -198,6 +198,7 @@ struct decode_cache {
u8 modrm_mod;
u8 modrm_reg;
u8 modrm_rm;
+ u8 modrm_seg;
u8 use_modrm_ea;
bool rip_relative;
unsigned long modrm_ea;