]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] Improve __smp_call_function_map.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 27 Jul 2007 10:29:09 +0000 (12:29 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Jul 2007 10:29:17 +0000 (12:29 +0200)
commitec6065db4d76c2e37c3116ce3f1283bf89650909
treea743032ff75c67e290093a8fe38884e41bbca938
parentb7fdc380ca829f474d8e980286bc2cc0f46890dc
[S390] Improve __smp_call_function_map.

There is no need to disable bottom halves when holding call_lock. Also
this could imply that it is legal to call smp_call_function* from
bh context, which it is not.
Also test if func will be executed locally before disabling
and aterwards enabling interrupts again. It's not necessary to disable
and enable interrupts each time __smp_call_function_map gets called.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/smp.c