diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-12-08 02:24:08 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-12-08 02:24:08 +0000 |
commit | 9d60d5abd9786f2184ff5714f221264c291225aa (patch) | |
tree | 71197001dc10102fc702df7ebc630748f8f40d9e /sys/arch/hppa | |
parent | 76e77305cc16957c8ab6b04545a4d21c35a51adb (diff) |
Sprinkle pmap_update calls where relevant and some other
misc pmap usage fixes.
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/mainbus.c | 3 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/vm_machdep.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c index 25ed311bca3..5f2bdd792bd 100644 --- a/sys/arch/hppa/hppa/mainbus.c +++ b/sys/arch/hppa/hppa/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.19 2001/12/02 04:10:25 mickey Exp $ */ +/* $OpenBSD: mainbus.c,v 1.20 2001/12/08 02:24:06 art Exp $ */ /* * Copyright (c) 1998-2001 Michael Shalayeff @@ -745,6 +745,7 @@ mbus_dmamem_alloc(void *v, bus_size_t size, bus_size_t alignment, #endif va += PAGE_SIZE; } + pmap_update(pmap_kernel()); return 0; } diff --git a/sys/arch/hppa/hppa/vm_machdep.c b/sys/arch/hppa/hppa/vm_machdep.c index 3f70fa05e1b..2c619405486 100644 --- a/sys/arch/hppa/hppa/vm_machdep.c +++ b/sys/arch/hppa/hppa/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.29 2001/11/28 13:47:38 art Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.30 2001/12/08 02:24:06 art Exp $ */ /* * Copyright (c) 1999-2000 Michael Shalayeff @@ -115,6 +115,7 @@ pagemove(from, to, size) to += PAGE_SIZE; size -= PAGE_SIZE; } + pmap_update(pmap_kernel()); } void |