summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-08-01 12:07:29 +0300
committerAvi Kivity <avi@redhat.com>2010-10-24 10:50:33 +0200
commit09ee57cdae3156aa3b74f378a0c57ef657c90f38 (patch)
tree4a5ef03f67ef75644bad8cdbc7c41944f1a0139f /arch/x86/include/asm
parentdbe7758482a870f30a86bdeefebf4fc260afef11 (diff)
downloadlinux-09ee57cdae3156aa3b74f378a0c57ef657c90f38.tar.bz2
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/asm')
-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 8762411fe9bb..cbdf76722d7d 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;