]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit549e147b1a12a07554c500e47c8deca3e3c7556a
tree411a044d9094582cb26963a6cee72fd4c594e9fb
parentfe77152613db46caa4e1fc43d36ea8fe3002db93
[MIPS] Fix WARNING: at kernel/smp.c:290

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>
arch/mips/kernel/traps.c
arch/mips/mm/c-r3k.c
arch/mips/mm/c-r4k.c
arch/mips/mm/c-tx39.c
arch/mips/mm/cache.c
arch/mips/mm/tlbex.c
include/asm-mips/cacheflush.h