]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: emulator: remove duplicated limit check
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Nov 2014 17:33:38 +0000 (18:33 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Nov 2014 17:40:24 +0000 (18:40 +0100)
commit01c6c907af2f49986a63058a65e9479bee50181c
treea9000b90e25fb5695a13f0db19193bdc4f4407d3
parent234636ede929857e1e81f32f8342b6fa1bfbf68a
KVM: emulator: remove duplicated limit check

The check on the higher limit of the segment, and the check on the
maximum accessible size, is the same for both expand-up and
expand-down segments.  Only the computation of "lim" varies.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c