Module Name: src Committed By: skrll Date: Sun May 14 09:33:17 UTC 2017
Modified Files: src/sys/arch/mips/mips: cache.c Log Message: Really fix typo that got dcache alias mask set from icache way_mask To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/arch/mips/mips/cache.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/mips/cache.c diff -u src/sys/arch/mips/mips/cache.c:1.56 src/sys/arch/mips/mips/cache.c:1.57 --- src/sys/arch/mips/mips/cache.c:1.56 Sun May 14 09:32:01 2017 +++ src/sys/arch/mips/mips/cache.c Sun May 14 09:33:17 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: cache.c,v 1.56 2017/05/14 09:32:01 skrll Exp $ */ +/* $NetBSD: cache.c,v 1.57 2017/05/14 09:33:17 skrll Exp $ */ /* * Copyright 2001, 2002 Wasabi Systems, Inc. @@ -68,7 +68,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.56 2017/05/14 09:32:01 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.57 2017/05/14 09:33:17 skrll Exp $"); #include "opt_cputype.h" #include "opt_mips_cache.h" @@ -675,7 +675,7 @@ primary_cache_is_2way: #if (MIPS2 + MIPS3) > 0 if (mci->mci_cache_virtual_alias) mci->mci_cache_alias_mask = - mci->mci_pcache_way_mask & -PAGE_SIZE; + mci->mci_pdcache_way_mask & -PAGE_SIZE; #endif }