Define smp_call_function_many for UP
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Dec 2008 08:34:35 +0000 (19:04 +1030)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 16 Dec 2008 00:28:57 +0000 (16:28 -0800)
commitd2ff911882b6bc693d86ca9566daac70aacbb2b3
tree4eb9a3fe04bc4f8f594034c4d5824fa77287acec
parent307257cf475aac25db30b669987f13d90c934e3a
Define smp_call_function_many for UP

Otherwise those using it in transition patches (eg. kvm) can't compile
with CONFIG_SMP=n:

arch/x86/kvm/../../../virt/kvm/kvm_main.c: In function 'make_all_cpus_request':
arch/x86/kvm/../../../virt/kvm/kvm_main.c:380: error: implicit declaration of function 'smp_call_function_many'

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/smp.h