summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/ssh.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-06-14 21:30:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-06-14 21:30:47 +0000
commit4b285773bdb76f222c9cc2e367aa3c0a5487339c (patch)
tree0d699ba3d097126dea62a8b41b8aba2723ae0bae /sys/arch/mvme88k/dev/ssh.c
parentfc6172932d8fdeecc671e7795566fd34da21b853 (diff)
Big cleanup of VM issues:
o get rid of m88k_foo macros when there is an mi foo macro o remove the ability, for the pmap module, to handle a native mmu page size different from the vm module page size. This allows some optimizations in pmap.c o remove dead stuff from <machine/vmparam.h>
Diffstat (limited to 'sys/arch/mvme88k/dev/ssh.c')
-rw-r--r--sys/arch/mvme88k/dev/ssh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/dev/ssh.c b/sys/arch/mvme88k/dev/ssh.c
index 9ddd0ff2f1f..cdf1665a7b6 100644
--- a/sys/arch/mvme88k/dev/ssh.c
+++ b/sys/arch/mvme88k/dev/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.3 2001/03/09 05:44:39 smurph Exp $ */
+/* $OpenBSD: ssh.c,v 1.4 2001/06/14 21:30:35 miod Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@@ -680,8 +680,8 @@ sshreset(sc)
for (i = 0; i < SSH_NACB; i++) {
pmap_cache_ctrl(pmap_kernel(),
- M88K_TRUNC_PAGE((vm_offset_t)acb),
- M88K_ROUND_PAGE((vm_offset_t)acb+sizeof(*acb)),
+ trunc_page((vm_offset_t)acb),
+ round_page((vm_offset_t)acb+sizeof(*acb)),
CACHE_INH);
TAILQ_INSERT_TAIL(&sc->free_list, acb, chain);