KVM: x86: Use new is_noncanonical_address in _linearize
authorNadav Amit <namit@cs.technion.ac.il>
Thu, 18 Sep 2014 19:39:40 +0000 (22:39 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Nov 2014 11:07:19 +0000 (12:07 +0100)
commit4be4de7ef9fd3a4d77320d4713970299ffecd286
tree54b6d2e713aa6f4e2c5a7a7febb561c61db3d6d5
parentd09155d2f39ebf2cce29c49f085fe43b1d66fbef
KVM: x86: Use new is_noncanonical_address in _linearize

Replace the current canonical address check with the new function which is
identical.

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