[MIPS] TX39xx: Add missing local_flush_icache_range initialization
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 26 Aug 2008 13:30:41 +0000 (22:30 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 5 Sep 2008 20:24:12 +0000 (21:24 +0100)
Commmit 59e39ecd933ba49eb6efe84cbfa5597a6c9ef18a ("Fix WARNING: at
kernel/smp.c:290") introduced local_flush_icache_range but lacks
initialization for some TX39 case.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-tx39.c

index 39c8182..f7c8f9c 100644 (file)
@@ -391,6 +391,7 @@ void __cpuinit tx39_cache_init(void)
                flush_cache_range = tx39_flush_cache_range;
                flush_cache_page = tx39_flush_cache_page;
                flush_icache_range = tx39_flush_icache_range;
+               local_flush_icache_range = tx39_flush_icache_range;
 
                flush_cache_sigtramp = tx39_flush_cache_sigtramp;
                local_flush_data_cache_page = local_tx39_flush_data_cache_page;