]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: Let compiler know insn_fetch() rarely fails
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Sat, 30 Jul 2011 09:02:29 +0000 (18:02 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:18:00 +0000 (19:18 +0300)
commitb13da0d4a0677c3ad7d29e38e2f2b44abd170b80
tree7abe75c1aad54c59329385935c99551646f1cb7e
parent673335b19b3bf27127e0d43133595283666ddbe9
KVM: x86 emulator: Let compiler know insn_fetch() rarely fails

Fetching the instruction which was to be executed by the guest cannot
fail normally.  So compiler should always predict that it will succeed.

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