aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/x86_emulate.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/x86_emulate.h')
-rw-r--r--drivers/kvm/x86_emulate.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/kvm/x86_emulate.h b/drivers/kvm/x86_emulate.h
index c354200d5834..28acad416bca 100644
--- a/drivers/kvm/x86_emulate.h
+++ b/drivers/kvm/x86_emulate.h
@@ -178,12 +178,9 @@ struct x86_emulate_ctxt {
178#define X86EMUL_MODE_HOST X86EMUL_MODE_PROT64 178#define X86EMUL_MODE_HOST X86EMUL_MODE_PROT64
179#endif 179#endif
180 180
181/* 181int x86_decode_insn(struct x86_emulate_ctxt *ctxt,
182 * x86_emulate_memop: Emulate an instruction that faulted attempting to 182 struct x86_emulate_ops *ops);
183 * read/write a 'special' memory area. 183int x86_emulate_insn(struct x86_emulate_ctxt *ctxt,
184 * Returns -1 on failure, 0 on success. 184 struct x86_emulate_ops *ops);
185 */
186int x86_emulate_memop(struct x86_emulate_ctxt *ctxt,
187 struct x86_emulate_ops *ops);
188 185
189#endif /* __X86_EMULATE_H__ */ 186#endif /* __X86_EMULATE_H__ */