Module Name: src Committed By: mrg Date: Thu Feb 24 08:42:31 UTC 2011
Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: blast_dcache() does the right thing for MP or !MP, so just use it. To generate a diff of this commit: cvs rdiff -u -r1.269 -r1.270 src/sys/arch/sparc64/sparc64/pmap.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/sparc64/sparc64/pmap.c diff -u src/sys/arch/sparc64/sparc64/pmap.c:1.269 src/sys/arch/sparc64/sparc64/pmap.c:1.270 --- src/sys/arch/sparc64/sparc64/pmap.c:1.269 Fri Nov 12 07:59:27 2010 +++ src/sys/arch/sparc64/sparc64/pmap.c Thu Feb 24 08:42:30 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.269 2010/11/12 07:59:27 uebayasi Exp $ */ +/* $NetBSD: pmap.c,v 1.270 2011/02/24 08:42:30 mrg Exp $ */ /* * * Copyright (C) 1996-1999 Eduardo Horvath. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.269 2010/11/12 07:59:27 uebayasi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.270 2011/02/24 08:42:30 mrg Exp $"); #undef NO_VCACHE /* Don't forget the locked TLB in dostart */ #define HWREF @@ -1975,11 +1975,7 @@ * XXXMRG: couldn't we do something less severe here, and * only flush the right context on each CPU? */ -#ifdef MULTIPROCESSOR - smp_blast_dcache(pmap_cpus_active); -#else - sp_blast_dcache(dcache_size, dcache_line_size); -#endif + blast_dcache(); } /*