Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Fix C&P bug.



details:   https://anonhg.NetBSD.org/src/rev/239d76e90033
branches:  trunk
changeset: 783228:239d76e90033
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Dec 11 23:51:34 2012 +0000

description:
Fix C&P bug.

diffstat:

 sys/arch/arm/arm32/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 96a4cababc39 -r 239d76e90033 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Tue Dec 11 22:47:40 2012 +0000
+++ b/sys/arch/arm/arm32/pmap.c Tue Dec 11 23:51:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.245 2012/12/11 01:51:14 matt Exp $  */
+/*     $NetBSD: pmap.c,v 1.246 2012/12/11 23:51:34 matt Exp $  */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -212,7 +212,7 @@
 #include <arm/cpuconf.h>
 #include <arm/arm32/katelib.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.245 2012/12/11 01:51:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.246 2012/12/11 23:51:34 matt Exp $");
 
 #ifdef PMAP_DEBUG
 
@@ -4670,7 +4670,7 @@
        const bool src_okcolor = false;
        const bool dst_okcolor = false;
        const vaddr_t vsrcp = csrcp + src_va_offset;
-       const vaddr_t vdstp = cdstp + src_va_offset;
+       const vaddr_t vdstp = cdstp + dst_va_offset;
 #endif
        pt_entry_t * const src_ptep = &csrc_pte[src_va_offset >> PGSHIFT];
        pt_entry_t * const dst_ptep = &cdst_pte[dst_va_offset >> PGSHIFT];



Home | Main Index | Thread Index | Old Index