diff options
author | Avi Kivity <avi@redhat.com> | 2010-08-01 05:07:29 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 04:50:33 -0400 |
commit | 09ee57cdae3156aa3b74f378a0c57ef657c90f38 (patch) | |
tree | 4a5ef03f67ef75644bad8cdbc7c41944f1a0139f /arch/x86/include | |
parent | dbe7758482a870f30a86bdeefebf4fc260afef11 (diff) |
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.h | 1 |
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 { | |||
198 | u8 modrm_mod; | 198 | u8 modrm_mod; |
199 | u8 modrm_reg; | 199 | u8 modrm_reg; |
200 | u8 modrm_rm; | 200 | u8 modrm_rm; |
201 | u8 modrm_seg; | ||
201 | u8 use_modrm_ea; | 202 | u8 use_modrm_ea; |
202 | bool rip_relative; | 203 | bool rip_relative; |
203 | unsigned long modrm_ea; | 204 | unsigned long modrm_ea; |