]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: Use APIC_DEFAULT_PHYS_BASE macro as the apic access page address.
authorTang Chen <tangchen@cn.fujitsu.com>
Thu, 11 Sep 2014 05:38:00 +0000 (13:38 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Sep 2014 09:10:22 +0000 (11:10 +0200)
commit55c0a573bfb8a7d0900676bf92ac3c3c4f60802e
treede8a02e2a02e4e5f68c82aba8926825e35e7d127
parent66baa1e3d828fadf614f1324b380017edd3de7ac
kvm: Use APIC_DEFAULT_PHYS_BASE macro as the apic access page address.

We have APIC_DEFAULT_PHYS_BASE defined as 0xfee00000, which is also the address of
apic access page. So use this macro.

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Reviewed-by: Gleb Natapov <gleb@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c