]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: x86 emulator: simplify sib decoding
authorAvi Kivity <avi@qumranet.com>
Mon, 16 Jun 2008 04:23:17 +0000 (21:23 -0700)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:33 +0000 (12:42 +0300)
commitdc71d0f1620790ec8e54101ca37e7b31e31208a8
tree75016ef3339ea6e82e2aaaee99d17e1ffeb64696
parent8684c0af0b2bab770c257e2a04e1546eed35fa56
KVM: x86 emulator: simplify sib decoding

Instead of using sparse switches, use simpler if/else sequences.

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