]> 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)
commit0901aada98bc6eaa6dff382b5ca8041662dc6080
treee362fcf9d4c8fb47d09aff5356f25dc0c758e0a8
parente6285acb6609014101bae101b3fddcf33efdeade
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