]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec648226866498c3139e365ce92ddefa4e8aa498
treee362fcf9d4c8fb47d09aff5356f25dc0c758e0a8
parenta9b88ac6c70ed6b2e9328c02ad9fd81504e2a1a7
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