Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Fix typo that got dcache alias mask set f...



details:   https://anonhg.NetBSD.org/src/rev/fe7086bed629
branches:  trunk
changeset: 823907:fe7086bed629
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun May 14 09:32:01 2017 +0000

description:
Fix typo that got dcache alias mask set from icache way_mask

diffstat:

 sys/arch/mips/mips/cache.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3c692f3ce0e6 -r fe7086bed629 sys/arch/mips/mips/cache.c
--- a/sys/arch/mips/mips/cache.c        Sun May 14 04:26:40 2017 +0000
+++ b/sys/arch/mips/mips/cache.c        Sun May 14 09:32:01 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cache.c,v 1.55 2017/04/22 20:32:35 skrll Exp $ */
+/*     $NetBSD: cache.c,v 1.56 2017/05/14 09:32:01 skrll Exp $ */
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.55 2017/04/22 20:32:35 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.56 2017/05/14 09:32:01 skrll Exp $");
 
 #include "opt_cputype.h"
 #include "opt_mips_cache.h"
@@ -675,7 +675,7 @@
 #if (MIPS2 + MIPS3) > 0
                if (mci->mci_cache_virtual_alias)
                        mci->mci_cache_alias_mask =
-                           mci->mci_picache_way_mask & -PAGE_SIZE;
+                           mci->mci_pcache_way_mask & -PAGE_SIZE;
 #endif
        }
 



Home | Main Index | Thread Index | Old Index