MIPS: c-r4k: Fix typo in probe_scache()
authorJoshua Kinard <kumba@gentoo.org>
Tue, 2 Jun 2015 20:55:22 +0000 (16:55 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 6 Jun 2015 08:21:09 +0000 (10:21 +0200)
Fixes a typo in arch/mips/mm/c-r4k.c's probe_scache().

Signed-off-by: Joshua Kinard <kumba@gentoo.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c

index 0dbb65a51ce5b1c2913cfec00571710e3a0ecb10..2e03ab1735911d202ce82c97b4911b5c1002ed70 100644 (file)
@@ -1372,7 +1372,7 @@ static int probe_scache(void)
        scache_size = addr;
        c->scache.linesz = 16 << ((config & R4K_CONF_SB) >> 22);
        c->scache.ways = 1;
-       c->dcache.waybit = 0;           /* does not matter */
+       c->scache.waybit = 0;           /* does not matter */
 
        return 1;
 }