Re: [PATCH] KVM: Eliminate unused variable warning on uniprocessor configs

2017-05-11 Thread Paul Mackerras
On Thu, May 11, 2017 at 09:44:06AM +0200, Paolo Bonzini wrote: > > > On 11/05/2017 05:40, Paul Mackerras wrote: > > When the > > kernel is compiled with CONFIG_SMP=n, smp_call_function_many() turns > > into a macro which doesn't use the 'wait' argument, leading to a > > warning about the variable

Re: [PATCH] KVM: Eliminate unused variable warning on uniprocessor configs

2017-05-11 Thread Paolo Bonzini
On 11/05/2017 05:40, Paul Mackerras wrote: > When the > kernel is compiled with CONFIG_SMP=n, smp_call_function_many() turns > into a macro which doesn't use the 'wait' argument, leading to a > warning about the variable 'wait' being unused: > > /home/paulus/kernel/kvm/arch/powerpc/kvm/../../../