MIPS: VR5500: Enable prefetch
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>
Wed, 18 Mar 2009 00:04:01 +0000 (09:04 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 23 Mar 2009 22:38:04 +0000 (23:38 +0100)
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c

index c43f4b26a69010b63154a734618060c0981b692e..871e828bc62ac2e7db45405f4347b598374301a5 100644 (file)
@@ -780,7 +780,7 @@ static void __cpuinit probe_pcache(void)
                c->dcache.ways = 2;
                c->dcache.waybit = 0;
 
-               c->options |= MIPS_CPU_CACHE_CDEX_P;
+               c->options |= MIPS_CPU_CACHE_CDEX_P | MIPS_CPU_PREFETCH;
                break;
 
        case CPU_TX49XX: