Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ia64/ia64 make kernel compilable after recent uvm c...



details:   https://anonhg.NetBSD.org/src/rev/286c89f26e1f
branches:  trunk
changeset: 819932:286c89f26e1f
user:      scole <scole%NetBSD.org@localhost>
date:      Fri Dec 23 17:26:43 2016 +0000

description:
make kernel compilable after recent uvm changes

diffstat:

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

diffs (36 lines):

diff -r 356e6840808f -r 286c89f26e1f sys/arch/ia64/ia64/pmap.c
--- a/sys/arch/ia64/ia64/pmap.c Fri Dec 23 17:01:10 2016 +0000
+++ b/sys/arch/ia64/ia64/pmap.c Fri Dec 23 17:26:43 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.33 2016/12/23 07:15:27 cherry Exp $ */
+/* $NetBSD: pmap.c,v 1.34 2016/12/23 17:26:43 scole Exp $ */
 
 
 /*-
@@ -85,7 +85,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.33 2016/12/23 07:15:27 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.34 2016/12/23 17:26:43 scole Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -342,7 +342,7 @@
                /*
                 * There are enough pages here; steal them!
                 */
-               pa = ptoa(uvm_physseg_get_start(bank));
+               pa = ptoa(uvm_physseg_get_start(upm));
                uvm_physseg_unplug(atop(pa), npgs);
 
                va = IA64_PHYS_TO_RR7(pa);
@@ -370,7 +370,7 @@
        int npgs;
        uvm_physseg_t upm;
        vaddr_t va;
-       paddr_t tmppa, pa = 0;
+       paddr_t pa = 0;
        paddr_t vhpt_start = 0, start1, start2, end1, end2;
 
        size = round_page(size);



Home | Main Index | Thread Index | Old Index