]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - arch/x86/kvm/x86.c
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)
commitac146235d47c20dbb1da7f0f8ef35c73e24590e3
tree1df58d96c9d146b14f6ea5bfa2ebb6f0a8486b8d
parentce1a5e60a62f21a6b5ad3e1dee60c10f0cb2aa37
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