Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/sparc64/sparc64 Pull up revision 1.124 (reques...



details:   https://anonhg.NetBSD.org/src/rev/3252052f875d
branches:  netbsd-1-6
changeset: 528081:3252052f875d
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Jun 24 23:00:02 2002 +0000

description:
Pull up revision 1.124 (requested by eeh in ticket #361):
Fix compilation problems in DEBUG code.

diffstat:

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

diffs (18 lines):

diff -r ba6575a22c00 -r 3252052f875d sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c   Mon Jun 24 22:59:48 2002 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c   Mon Jun 24 23:00:02 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.120.2.2 2002/06/21 06:46:25 lukem Exp $     */
+/*     $NetBSD: pmap.c,v 1.120.2.3 2002/06/24 23:00:02 lukem Exp $     */
 #undef NO_VCACHE /* Don't forget the locked TLB in dostart */
 #define        HWREF
 /*
@@ -2521,7 +2521,7 @@
                pa = (pseg_get(pm, va)&TLB_PA_MASK)+(va&PGOFSET);
 #ifdef DEBUG
                if (pmapdebug & PDB_EXTRACT) {
-                       npa = ldxa((vaddr_t)&pm->pm_segs[va_to_seg(va)], ASI_PHYS_CACHED);
+                       paddr_t npa = ldxa((vaddr_t)&pm->pm_segs[va_to_seg(va)], ASI_PHYS_CACHED);
                        printf("pmap_extract: va=%p segs[%ld]=%llx", (void *)(u_long)va, (long)va_to_seg(va), (unsigned long long)npa);
                        if (npa) {
                                npa = (paddr_t)ldxa((vaddr_t)&((paddr_t*)(u_long)npa)[va_to_dir(va)], ASI_PHYS_CACHED);



Home | Main Index | Thread Index | Old Index