commit | e0cee3eea7875800451739ae38f99edcf11c133d | [log] [tgz] |
---|---|---|
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | Mon Aug 04 20:53:57 2008 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Fri Sep 05 21:24:11 2008 +0100 |
tree | 411a044d9094582cb26963a6cee72fd4c594e9fb | |
parent | 0510617b85758b6e66f3c602ceccea1826440470 [diff] |
[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>