From 3ee5453f0b47a299c2d69bb7cc5a345585ddf71a Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 30 Nov 2001 23:16:52 +0000 Subject: Repair after pmap_kenter_pgs() removal. --- sys/arch/mvme88k/mvme88k/machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index eed11ba7ecd..ddaafb93240 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.68 2001/11/28 16:13:29 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.69 2001/11/30 23:16:51 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -627,7 +627,7 @@ cpu_startup() if (pg == NULL) panic("cpu_startup: not enough memory for " "buffer cache"); - pmap_kenter_pa(va, VM_PAGE_TO_PHYS(pg), + pmap_kenter_pa(curbuf, VM_PAGE_TO_PHYS(pg), VM_PROT_READ|VM_PROT_WRITE); curbuf += PAGE_SIZE; curbufsize -= PAGE_SIZE; -- cgit v1.2.3