Module Name: src Committed By: martin Date: Tue Mar 6 15:04:49 UTC 2018
Modified Files: src/sys/arch/mips/mips [netbsd-7]: cache.c Log Message: 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@. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.48.24.1 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.48 src/sys/arch/mips/mips/cache.c:1.48.24.1 --- src/sys/arch/mips/mips/cache.c:1.48 Thu Nov 24 04:17:11 2011 +++ src/sys/arch/mips/mips/cache.c Tue Mar 6 15:04:49 2018 @@ -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 @@ mips_config_cache_modern(uint32_t cpu_id mco->mco_intern_pdcache_wb_range = (void (*)(vaddr_t, vsize_t))cache_noop; } + + mips_dcache_compute_align(); } #endif /* MIPS32 + MIPS32R2 + MIPS64 + MIPS64R2 > 0 */