diff options
author | Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> | 2016-06-16 01:23:45 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-16 01:28:24 +0300 |
commit | 7d669f50847481c52faf0656aea7b4be63113210 (patch) | |
tree | 58e897f904a4b2b6a0a1119bbe6b3d6962de3544 /REPORTING-BUGS | |
parent | 0699fdb380a847dcd4b74bbca6078bdb20033366 (diff) | |
download | linux-7d669f50847481c52faf0656aea7b4be63113210.tar.xz |
kvm: svm: Fix implicit declaration for __default_cpu_present_to_apicid()
The commit 8221c1370056 ("svm: Manage vcpu load/unload when enable AVIC")
introduces a build error due to implicit function declaration
when #ifdef CONFIG_X86_32 and #ifndef CONFIG_X86_LOCAL_APIC
(as reported by Kbuild test robot i386-randconfig-x0-06121009).
So, this patch introduces kvm_cpu_get_apicid() wrapper
around __default_cpu_present_to_apicid() with additional
handling if CONFIG_X86_LOCAL_APIC is not defined.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: commit 8221c1370056 ("svm: Manage vcpu load/unload when enable AVIC")
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions