Module Name: src
Committed By: skrll
Date: Sun May 14 09:32:01 UTC 2017
Modified Files:
src/sys/arch/mips/mips: cache.c
Log Message:
Fix typo that got dcache alias mask set from icache way_mask
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 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.55 src/sys/arch/mips/mips/cache.c:1.56
--- src/sys/arch/mips/mips/cache.c:1.55 Sat Apr 22 20:32:35 2017
+++ src/sys/arch/mips/mips/cache.c Sun May 14 09:32:01 2017
@@ -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 @@ primary_cache_is_2way:
#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
}