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 Remove unnecessary HitFlushCache from cpu...



details:   https://anonhg.NetBSD.org/src/rev/e0597465e0fe
branches:  trunk
changeset: 487915:e0597465e0fe
user:      soren <soren%NetBSD.org@localhost>
date:      Wed Jun 14 22:17:59 2000 +0000

description:
Remove unnecessary HitFlushCache from cpu_fork(). From Toru Nishimura.

diffstat:

 sys/arch/mips/mips/vm_machdep.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 3206820fb5dc -r e0597465e0fe sys/arch/mips/mips/vm_machdep.c
--- a/sys/arch/mips/mips/vm_machdep.c   Wed Jun 14 22:02:13 2000 +0000
+++ b/sys/arch/mips/mips/vm_machdep.c   Wed Jun 14 22:17:59 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.63 2000/06/09 05:51:49 soda Exp $     */
+/*     $NetBSD: vm_machdep.c,v 1.64 2000/06/14 22:17:59 soren Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.63 2000/06/09 05:51:49 soda Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.64 2000/06/14 22:17:59 soren Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -99,13 +99,6 @@
        pt_entry_t *pte;
        int i, x;
 
-#ifdef MIPS3
-       /* ? make sense ? */
-       if (CPUISMIPS3)
-               MachHitFlushDCache((vaddr_t)p2->p_addr, USPACE);
-#endif
-
-
 #ifdef DIAGNOSTIC
        /*
         * If p1 != curproc && p1 == &proc0, we're creating a kernel thread.



Home | Main Index | Thread Index | Old Index