]> git.baikalelectronics.ru Git - kernel.git/commit
smp.h: move !SMP version of on_each_cpu() out-of-line
authorDavid Daney <david.daney@cavium.com>
Wed, 11 Sep 2013 21:23:26 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:25 +0000 (15:58 -0700)
commit4cb7ff388c1ff6789f4a17e8138cf6e5e577d737
tree3e921a8fc93d7bff9a5ac1d5221be9f9938447e4
parentd07c3514cf4a01f8843e9a479188b4af14e26996
smp.h: move !SMP version of on_each_cpu() out-of-line

All of the other non-trivial !SMP versions of functions in smp.h are
out-of-line in up.c.  Move on_each_cpu() there as well.

This allows us to get rid of the #include <linux/irqflags.h>.  The
drawback is that this makes both the x86_64 and i386 defconfig !SMP
kernels about 200 bytes larger each.

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>
include/linux/smp.h
kernel/up.c