diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-09-23 02:51:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-09-23 02:51:37 +0000 |
commit | 4bf0085437bd81d82ad7f1ebbcb0a8cd41cb30cb (patch) | |
tree | cc49f74cbb4c660e0320011d25bc091c60787910 /sys | |
parent | af3d27e8ecf338ed0aee6053326920f751a16a76 (diff) |
kernel_pmap -> pmap_kernel()
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/vm_machdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/mvme88k/vm_machdep.c b/sys/arch/mvme88k/mvme88k/vm_machdep.c index 869594adfb6..ecaceda6367 100644 --- a/sys/arch/mvme88k/mvme88k/vm_machdep.c +++ b/sys/arch/mvme88k/mvme88k/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.34 2001/09/21 02:11:57 miod Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.35 2001/09/23 02:51:36 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. @@ -496,11 +496,11 @@ pagemove(from, to, size) panic("pagemove"); #endif while (size > 0) { - rv = pmap_extract(kernel_pmap, (vaddr_t)from, &pa); + rv = pmap_extract(pmap_kernel(), (vaddr_t)from, &pa); #ifdef DEBUG if (rv == FALSE) panic("pagemove 2"); - if (pmap_extract(kernel_pmap, (vaddr_t)to, NULL) == TRUE) + if (pmap_extract(pmap_kernel(), (vaddr_t)to, NULL) == TRUE) panic("pagemove 3"); #endif pmap_kremove((vaddr_t)from, PAGE_SIZE); @@ -517,6 +517,6 @@ kvtop(va) { vm_offset_t pa; - pmap_extract(kernel_pmap, va, &pa); + pmap_extract(pmap_kernel(), va, &pa); return ((u_int)pa); } |