]> git.karo-electronics.de Git - karo-tx-linux.git/commit
include/linux/smp.h:on_each_cpu(): switch back to a macro
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 19 Jun 2013 00:05:21 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:38 +0000 (17:12 +1000)
commit9d35dd23a690cce88a0eb24a92c1861c4e2288a1
tree97f45a7d33d68205501816a1a32dfff2f95d49ff
parent7363c82558ba48e713c02e0958b5a5cc78f51d5a
include/linux/smp.h:on_each_cpu(): switch back to a macro

f21afc25f9ed4 ("smp.h: Use local_irq_{save,restore}() in !SMP version of
on_each_cpu()") converted on_each_cpu() to a C function.  This required
inclusion of irqflags.h, which broke ia64 and mn10300 (at least) due to
header ordering hell.

Switch on_each_cpu() back to a macro to fix this.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: David Daney <david.daney@cavium.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/smp.h