]> 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)
commit091fde1dbea7926c7e6c0b7c02b4fcf1e862e19e
tree7abe75c1aad54c59329385935c99551646f1cb7e
parent7f3b696b36ea49cdb7cd9f0484aa70386f8c357e
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