Re: kvm_main.c:220: error: implicit declaration of function 'smp_call_function_mask'

Jeff Garzik
2007-10-24T07:56:17Z

Paolo Ornati wrote:
> CC drivers/kvm/kvm_main.o
> drivers/kvm/kvm_main.c: In function 'kvm_flush_remote_tlbs':
> drivers/kvm/kvm_main.c:220: error: implicit declaration of function 'smp_call_function_mask'
> make[2]: *** [drivers/kvm/kvm_main.o] Error 1
> make[1]: *** [drivers/kvm] Error 2
> make: *** [drivers] Error 2
>
> -----------
>
> "smp_call_function_mask" is defined only on "CONFIG_SMP" but kvm uses it
> unconditionally, oops!

Yep, posted a build fix for this the other day...

Jeff