Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa No need for sync_caches - f[di]cache alre...



details:   https://anonhg.NetBSD.org/src/rev/ccd046fb22bd
branches:  trunk
changeset: 772319:ccd046fb22bd
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Dec 29 22:13:23 2011 +0000

description:
No need for sync_caches - f[di]cache already issue the sync instruction.

diffstat:

 sys/arch/hppa/hppa/pmap.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r f270c95e2283 -r ccd046fb22bd sys/arch/hppa/hppa/pmap.c
--- a/sys/arch/hppa/hppa/pmap.c Thu Dec 29 21:22:49 2011 +0000
+++ b/sys/arch/hppa/hppa/pmap.c Thu Dec 29 22:13:23 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.85 2011/12/23 16:38:50 skrll Exp $  */
+/*     $NetBSD: pmap.c,v 1.86 2011/12/29 22:13:23 skrll Exp $  */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.85 2011/12/23 16:38:50 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.86 2011/12/29 22:13:23 skrll Exp $");
 
 #include "opt_cputype.h"
 
@@ -1593,9 +1593,7 @@
        pmap_t pmap = p->p_vmspace->vm_map.pmap;
 
        fdcache(pmap->pm_space, va, len);
-       sync_caches();
        ficache(pmap->pm_space, va, len);
-       sync_caches();
 }
 
 static inline void



Home | Main Index | Thread Index | Old Index