Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Make this compile again after mycroft's...



details:   https://anonhg.NetBSD.org/src/rev/ede3e37e0291
branches:  trunk
changeset: 467686:ede3e37e0291
user:      abs <abs%NetBSD.org@localhost>
date:      Sat Mar 27 06:31:31 1999 +0000

description:
Make this compile again after mycroft's pmap fixes.

diffstat:

 sys/arch/sparc/sparc/mem.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 033d0471294a -r ede3e37e0291 sys/arch/sparc/sparc/mem.c
--- a/sys/arch/sparc/sparc/mem.c        Sat Mar 27 06:13:51 1999 +0000
+++ b/sys/arch/sparc/sparc/mem.c        Sat Mar 27 06:31:31 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mem.c,v 1.20 1999/03/27 00:30:07 mycroft Exp $ */
+/*     $NetBSD: mem.c,v 1.21 1999/03/27 06:31:31 abs Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -132,7 +132,7 @@
                        prot = uio->uio_rw == UIO_READ ? VM_PROT_READ :
                            VM_PROT_WRITE;
                        pmap_enter(pmap_kernel(), (vaddr_t)vmmap,
-                           trunc_page(v), prot, TRUE, prot);
+                           trunc_page(pa), prot, TRUE, prot);
                        o = uio->uio_offset & PGOFSET;
                        c = min(uio->uio_resid, (int)(NBPG - o));
                        error = uiomove((caddr_t)vmmap + o, c, uio);



Home | Main Index | Thread Index | Old Index