Suravee Suthikulpanit 7d669f5084 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>
2016-06-16 00:28:24 +02:00
..
2016-03-22 16:38:17 +01:00
2015-12-16 18:49:45 +01:00
2016-04-18 11:23:24 +02:00
2015-10-01 15:06:52 +02:00
2016-05-18 18:04:29 +02:00
2016-01-15 17:56:32 -08:00
2016-06-02 17:38:50 +02:00
2016-04-10 21:53:49 +02:00
2016-05-18 18:04:32 +02:00
2016-04-10 21:53:49 +02:00
2016-05-19 11:27:09 -07:00