]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[S390] smp_call_function cleanup
authorJan Glauber <jan.glauber@de.ibm.com>
Wed, 21 Feb 2007 09:55:06 +0000 (10:55 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 21 Feb 2007 09:55:06 +0000 (10:55 +0100)
commit63db6e8d41c703c26a3ce767740a9c8484765a74
tree79287a1d1fdf251c769f00b0b1bfabc0357c8dd4
parent188596faf788f2881a0eb316f2604832df058ea8
[S390] smp_call_function cleanup

Introduce __smp_call_function_map which calls a function on all cpus
given with a cpumask_t. Use it to implement smp_call_function and
smp_call_function_on. Replace smp_ext_bitcall_others with smp_ext_bitcall
and a for_each_cpu_mask loop. Use a cpumask_t instead of an atomic_t for
cpu counting and print a warning if preempt is on in
__smp_call_function_map().

Signed-off-by: Jan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/smp.c