Module Name: src Committed By: matt Date: Wed Jun 10 22:40:37 UTC 2015
Modified Files: src/sys/arch/mips/mips: cache.c Log Message: mci_cache_virtual_alias is bool so use true and false, not 1 and 0. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 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.49 src/sys/arch/mips/mips/cache.c:1.50 --- src/sys/arch/mips/mips/cache.c:1.49 Wed Apr 29 08:32:00 2015 +++ src/sys/arch/mips/mips/cache.c Wed Jun 10 22:40:37 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: cache.c,v 1.49 2015/04/29 08:32:00 hikaru Exp $ */ +/* $NetBSD: cache.c,v 1.50 2015/06/10 22:40:37 matt Exp $ */ /* * Copyright 2001, 2002 Wasabi Systems, Inc. @@ -68,7 +68,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.49 2015/04/29 08:32:00 hikaru Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.50 2015/06/10 22:40:37 matt Exp $"); #include "opt_cputype.h" #include "opt_mips_cache.h" @@ -598,7 +598,7 @@ primary_cache_is_2way: if (mci->mci_picache_size / mci->mci_picache_ways > PAGE_SIZE || mci->mci_pdcache_size / mci->mci_pdcache_ways > PAGE_SIZE) - mci->mci_cache_virtual_alias = 1; + mci->mci_cache_virtual_alias = true; mco->mco_icache_sync_all = ls2_icache_sync_all; @@ -677,7 +677,7 @@ primary_cache_is_2way: (MIPS3_MAX_PCACHE_SIZE - 1) & ~PAGE_MASK; /* va[14:12] */ mci->mci_cache_prefer_mask = MIPS3_MAX_PCACHE_SIZE - 1; - mci->mci_cache_virtual_alias = 0; + mci->mci_cache_virtual_alias = false; /* FALLTHROUGH */ case MIPS_R4600: #ifdef ENABLE_MIPS_R4700