]> git.baikalelectronics.ru Git - kernel.git/commit
up.c: use local_irq_{save,restore}() in smp_call_function_single.
authorDavid Daney <david.daney@cavium.com>
Wed, 11 Sep 2013 21:23:25 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:25 +0000 (15:58 -0700)
commit964ea1abc3ecaa31a6bec6f17a7ef99661c175e1
tree848d5ad102ba0a0268c165811bc9dd7f13275391
parent0e3dd052779efa7dd3e162ab0fff15d132c94d37
up.c: use local_irq_{save,restore}() in smp_call_function_single.

The SMP version of this function doesn't unconditionally enable irqs, so
neither should this !SMP version.  There are no know problems caused by
this, but we make the change for consistency's sake.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/up.c