KVM: x86: Move __linearize masking of la into switch
authorNadav Amit <namit@cs.technion.ac.il>
Wed, 19 Nov 2014 15:43:13 +0000 (17:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Nov 2014 17:20:15 +0000 (18:20 +0100)
commit31ff64881bed80456c5d37df905bdb66cdf29abe
treee362fcf9d4c8fb47d09aff5356f25dc0c758e0a8
parentabc7d8a4c935dbe0be5db2eb338b2ec9b27ae157
KVM: x86: Move __linearize masking of la into switch

In __linearize there is check of the condition whether to check if masking of
the linear address is needed.  It occurs immediately after switch that
evaluates the same condition.  Merge them.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c