]> 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)
commitd07c3514cf4a01f8843e9a479188b4af14e26996
tree848d5ad102ba0a0268c165811bc9dd7f13275391
parent33c79dff8149e771456225dfe5f85a7c65b29a56
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