]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite0cee3eea7875800451739ae38f99edcf11c133d
tree411a044d9094582cb26963a6cee72fd4c594e9fb
parent0510617b85758b6e66f3c602ceccea1826440470
[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