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 Add missing call to mips_dcache_compute_a...



details:   https://anonhg.NetBSD.org/src/rev/1cfb3f0f468e
branches:  trunk
changeset: 830270:1cfb3f0f468e
user:      flxd <flxd%NetBSD.org@localhost>
date:      Sat Mar 03 15:47:49 2018 +0000

description:
Add missing call to mips_dcache_compute_align() affecting "modern" MIPS
(MIPS32{,R2}/MIPS64{,R2}). Thanks jmcneill@; OK skrll@.

diffstat:

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

diffs (26 lines):

diff -r 44593f7b2a38 -r 1cfb3f0f468e sys/arch/mips/mips/cache.c
--- a/sys/arch/mips/mips/cache.c        Sat Mar 03 13:46:32 2018 +0000
+++ b/sys/arch/mips/mips/cache.c        Sat Mar 03 15:47:49 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cache.c,v 1.58 2017/05/14 09:37:13 skrll Exp $ */
+/*     $NetBSD: cache.c,v 1.59 2018/03/03 15:47:49 flxd Exp $  */
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.58 2017/05/14 09:37:13 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.59 2018/03/03 15:47:49 flxd Exp $");
 
 #include "opt_cputype.h"
 #include "opt_mips_cache.h"
@@ -1455,5 +1455,7 @@
                mco->mco_intern_pdcache_sync_range_index = no_cache_op_range_index;
                mco->mco_intern_pdcache_sync_range = no_cache_op_range;
        }
+
+       mips_dcache_compute_align();
 }
 #endif /* MIPS32 + MIPS32R2 + MIPS64 + MIPS64R2 > 0 */



Home | Main Index | Thread Index | Old Index