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)
commitbff2dc42bcafdd75c0296987747f782965d691a0
tree3e921a8fc93d7bff9a5ac1d5221be9f9938447e4
parent081192b25c2d4620b5f5838620624d3daee94b66
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