KVM: x86 emulator: check return value against correct define
authorGleb Natapov <gleb@redhat.com>
Mon, 15 Mar 2010 14:38:30 +0000 (16:38 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:48 +0000 (12:15 +0300)
commitaf5b4f7ff7ec76400b89db9538accd9aeb996da4
treeb1aaf004ac6ae990110bacbee6e68f6a5ae8994e
parentc73e197bc525e67b71578126b679446f5b88b508
KVM: x86 emulator: check return value against correct define

Check return value against correct define instead of open code
the value.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c