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 mci_cache_virtual_alias is bool so use tr...
details: https://anonhg.NetBSD.org/src/rev/a8deab6cc134
branches: trunk
changeset: 338829:a8deab6cc134
user: matt <matt%NetBSD.org@localhost>
date: Wed Jun 10 22:40:37 2015 +0000
description:
mci_cache_virtual_alias is bool so use true and false, not 1 and 0.
diffstat:
sys/arch/mips/mips/cache.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r f9a85f14b081 -r a8deab6cc134 sys/arch/mips/mips/cache.c
--- a/sys/arch/mips/mips/cache.c Wed Jun 10 22:33:06 2015 +0000
+++ b/sys/arch/mips/mips/cache.c Wed Jun 10 22:40:37 2015 +0000
@@ -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 @@
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 @@
(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
Home |
Main Index |
Thread Index |
Old Index