Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/arch/mips/mips Pull up following revision(s) (request...



details:   https://anonhg.NetBSD.org/src/rev/0be89c26b1c8
branches:  netbsd-7
changeset: 800439:0be89c26b1c8
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Mar 06 15:04:49 2018 +0000

description:
Pull up following revision(s) (requested by flxd in ticket #1578):
        sys/arch/mips/mips/cache.c: revision 1.59
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 90394d3661ca -r 0be89c26b1c8 sys/arch/mips/mips/cache.c
--- a/sys/arch/mips/mips/cache.c        Sat Mar 03 20:26:52 2018 +0000
+++ b/sys/arch/mips/mips/cache.c        Tue Mar 06 15:04:49 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cache.c,v 1.48 2011/11/24 04:17:11 matt Exp $  */
+/*     $NetBSD: cache.c,v 1.48.24.1 2018/03/06 15:04:49 martin Exp $   */
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.48 2011/11/24 04:17:11 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.48.24.1 2018/03/06 15:04:49 martin Exp $");
 
 #include "opt_cputype.h"
 #include "opt_mips_cache.h"
@@ -1231,5 +1231,7 @@
                mco->mco_intern_pdcache_wb_range =
                    (void (*)(vaddr_t, vsize_t))cache_noop;
        }
+
+       mips_dcache_compute_align();
 }
 #endif /* MIPS32 + MIPS32R2 + MIPS64 + MIPS64R2 > 0 */



Home | Main Index | Thread Index | Old Index