]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: fix warning on 32-bit compilation
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 10 Nov 2014 12:53:25 +0000 (13:53 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 10 Nov 2014 12:53:25 +0000 (13:53 +0100)
commit85ea7439bbc4fab76a56a0fa48918dc50f79a274
tree1df58d96c9d146b14f6ea5bfa2ebb6f0a8486b8d
parent41241416a8e862cdeec52d80e9e64f65cd0364b9
KVM: x86: fix warning on 32-bit compilation

PCIDs are only supported in 64-bit mode.  No need to clear bit 63
of CR3 unless the host is 64-bit.

Reported by Fengguang Wu's autobuilder.

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