From 7590561ee1e3433c97c788b49cd88a8d6e4acd9b Mon Sep 17 00:00:00 2001 From: skrll Date: Fri, 22 Feb 2002 15:57:38 +0000 Subject: [PATCH] Make sure the kernel_pt_table has the right physical to virtual address mapping. --- sys/arch/cats/cats/cats_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/cats/cats/cats_machdep.c b/sys/arch/cats/cats/cats_machdep.c index 85c113c74a0a..158d23068d9d 100644 --- a/sys/arch/cats/cats/cats_machdep.c +++ b/sys/arch/cats/cats/cats_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: cats_machdep.c,v 1.22 2002/02/22 04:49:20 thorpej Exp $ */ +/* $NetBSD: cats_machdep.c,v 1.23 2002/02/22 15:57:38 skrll Exp $ */ /* * Copyright (c) 1997,1998 Mark Brinicombe. @@ -483,9 +483,9 @@ initarm(bootargs) } else { alloc_pages(kernel_pt_table[loop1].pv_pa, PT_SIZE / NBPG); - ++loop1; kernel_pt_table[loop1].pv_va = kernel_pt_table[loop1].pv_pa; + ++loop1; } }