KVM: x86 emulator: X86EMUL macro replacements: x86_emulate_insn() and its helpers
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Fri, 12 Feb 2010 06:57:56 +0000 (15:57 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:27:46 +0000 (12:27 +0300)
commit1b30eaa84609031c06e417eafd5b68f45e4266f7
treeb5c38cbfb875cf7cb8c7bf3bd023892bc1692ef9
parent3e2815e9fa6c06bcb8a9340e43008bbe48437d25
KVM: x86 emulator: X86EMUL macro replacements: x86_emulate_insn() and its helpers

This patch just replaces integer values used inside
x86_emulate_insn() and its helper functions to X86EMUL_*.

The purpose of this is to make it clear what will happen
when the variable rc is compared to X86EMUL_* at the end
of x86_emulate_insn().

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c