Re: [PATCH -next] x86/kvm: Fix build with CONFIG_SMP disabled

2020-09-29 Thread Paolo Bonzini
On 29/09/20 13:50, Wang ShaoBo wrote: > When CONFIG_SMP is disabled, build failed like this: > > arch/x86/kernel/kvm.c: In function ‘kvm_alloc_cpumask’: > arch/x86/kernel/kvm.c:823:35: error: ‘kvm_send_ipi_mask_allbutself’ > undeclared (first use in this function); did you mean > ‘apic_send_IPI_

[PATCH -next] x86/kvm: Fix build with CONFIG_SMP disabled

2020-09-29 Thread Wang ShaoBo
When CONFIG_SMP is disabled, build failed like this: arch/x86/kernel/kvm.c: In function ‘kvm_alloc_cpumask’: arch/x86/kernel/kvm.c:823:35: error: ‘kvm_send_ipi_mask_allbutself’ undeclared (first use in this function); did you mean ‘apic_send_IPI_allbutself’? apic->send_IPI_mask_allbutself = kv