KVM: x86 emulator: simplify r/m decoding
authorAvi Kivity <avi@qumranet.com>
Mon, 16 Jun 2008 04:53:26 +0000 (21:53 -0700)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:33 +0000 (12:42 +0300)
commit84411d85dacdb6665578608c6a70fc8b819761a8
tree9adcee7b8938b47f57fb964adb7d3939245f44fd
parentdc71d0f1620790ec8e54101ca37e7b31e31208a8
KVM: x86 emulator: simplify r/m decoding

Consolidate the duplicated code when not in any special case.

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