aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/x86_emulate.h
diff options
context:
space:
mode:
authorSheng Yang <sheng.yang@intel.com>2007-11-16 03:29:15 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:53:15 -0500
commite8d8d7fe8877c594c08f40cc7c013626cfe3e9cc (patch)
tree8b5e093454cf3d4dd1f58deacf35dc65f4c7f835 /drivers/kvm/x86_emulate.h
parent448353caeab1d9180f12194a80790859ddbeebd5 (diff)
KVM: x86 emulator: Rename 'cr2' to 'memop'
Previous patches have removed the dependency on cr2; we can now stop passing it to the emulator and rename uses to 'memop'. Signed-off-by: Sheng Yang <sheng.yang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86_emulate.h')
-rw-r--r--drivers/kvm/x86_emulate.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/kvm/x86_emulate.h b/drivers/kvm/x86_emulate.h
index 644086e354a7..7db91b9bdcd4 100644
--- a/drivers/kvm/x86_emulate.h
+++ b/drivers/kvm/x86_emulate.h
@@ -145,7 +145,6 @@ struct x86_emulate_ctxt {
145 145
146 /* Linear faulting address (if emulating a page-faulting instruction). */ 146 /* Linear faulting address (if emulating a page-faulting instruction). */
147 unsigned long eflags; 147 unsigned long eflags;
148 unsigned long cr2;
149 148
150 /* Emulated execution mode, represented by an X86EMUL_MODE value. */ 149 /* Emulated execution mode, represented by an X86EMUL_MODE value. */
151 int mode; 150 int mode;