KVM: x86 emulator: Extract the common code of SrcReg and DstReg
authorAvi Kivity <avi@qumranet.com>
Wed, 31 Oct 2007 08:27:04 +0000 (10:27 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:59 +0000 (17:52 +0200)
commit3c118e24af821d68dca0ba81e9499820c840c133
tree7fbf595f037f37d75119f50f2638ac0098f2eb51
parentde7d789acd7f373268194bb48dc0690c975ab8e6
KVM: x86 emulator: Extract the common code of SrcReg and DstReg

Share the common parts of SrcReg and DstReg decoding.

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