[MIPS] Fix WARNING: at kernel/smp.c:290
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 4 Aug 2008 18:53:57 +0000 (20:53 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 5 Sep 2008 20:24:11 +0000 (21:24 +0100)
trap_init issues flush_icache_range(), which uses ipi functions to
get icache flushing done on all cpus. But this is done before interrupts
are enabled and caused WARN_ON messages. This changeset introduces
a new local_flush_icache_range() and uses it before interrupts (and
additional CPUs) are enabled to avoid this problem.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found