From a8b7b64af8f1959b2ea3b7757e9084d90419184b Mon Sep 17 00:00:00 2001 From: soren Date: Wed, 14 Jun 2000 22:17:59 +0000 Subject: [PATCH] Remove unnecessary HitFlushCache from cpu_fork(). From Toru Nishimura. --- sys/arch/mips/mips/vm_machdep.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/sys/arch/mips/mips/vm_machdep.c b/sys/arch/mips/mips/vm_machdep.c index ce5827a9b3d0..92b71546f476 100644 --- a/sys/arch/mips/mips/vm_machdep.c +++ b/sys/arch/mips/mips/vm_machdep.c @@ -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 /* 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 #include @@ -99,13 +99,6 @@ cpu_fork(p1, p2, stack, stacksize, func, arg) 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.