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

Paolo Ornati
2007-10-24T07:45:27Z

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!

--
Paolo Ornati
Linux 2.6.23-ge8b8c977 on x86_64