From ac5d6ab89ff667d0211f57a0c8aeafe132b2ed7e Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 22 Feb 2002 17:26:36 +0000 Subject: [PATCH] Fix the "va" argument to pmap_map_entry() when mapping kernel_ptpt. --- sys/arch/evbarm/integrator/integrator_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/evbarm/integrator/integrator_machdep.c b/sys/arch/evbarm/integrator/integrator_machdep.c index 69c86d6ecfc7..51e95852600e 100644 --- a/sys/arch/evbarm/integrator/integrator_machdep.c +++ b/sys/arch/evbarm/integrator/integrator_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: integrator_machdep.c,v 1.15 2002/02/22 04:49:20 thorpej Exp $ */ +/* $NetBSD: integrator_machdep.c,v 1.16 2002/02/22 17:26:36 thorpej Exp $ */ /* * Copyright (c) 2001 ARM Ltd @@ -682,7 +682,7 @@ initarm(bootinfo) PD_SIZE, VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE); /* Map the page table that maps the kernel pages */ - pmap_map_entry(l1pagetable, kernel_ptpt.pv_pa, kernel_ptpt.pv_pa, + pmap_map_entry(l1pagetable, kernel_ptpt.pv_va, kernel_ptpt.pv_pa, VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE); /*