KVM: fix !SMP build error

fix a !SMP build error:

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'

(and also avoid unused function warning related to up_smp_call_function()
not making use of the 'func' parameter.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>

+5 -2
+5 -2
include/linux/smp.h
··· 84 84 * These macros fold the SMP functionality into a single CPU system 85 85 */ 86 86 #define raw_smp_processor_id() 0 87 - static inline int up_smp_call_function(void) 87 + static inline int up_smp_call_function(void (*func)(void *), void *info) 88 88 { 89 89 return 0; 90 90 } 91 - #define smp_call_function(func,info,retry,wait) (up_smp_call_function()) 91 + #define smp_call_function(func, info, retry, wait) \ 92 + (up_smp_call_function(func, info)) 92 93 #define on_each_cpu(func,info,retry,wait) \ 93 94 ({ \ 94 95 local_irq_disable(); \ ··· 108 107 local_irq_enable(); \ 109 108 0; \ 110 109 }) 110 + #define smp_call_function_mask(mask, func, info, wait) \ 111 + (up_smp_call_function(func, info)) 111 112 112 113 #endif /* !SMP */ 113 114