]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: put register operand fetch into a function
authorAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 09:53:09 +0000 (12:53 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:33 +0000 (10:50 +0200)
commitcebc0fd34476ed98e1a06c7ba6a5a897675ced32
tree216caf9b0a6cb48c555d21fc310db5a19abfa9cc
parenta91117339e5b66791b3821d5cabe1726ddb3506f
KVM: x86 emulator: put register operand fetch into a function

The code is repeated three times, put it into fetch_register_operand()

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c